iPX

ipx::types

Struct ipx::types::FeedPatch

struct FeedPatch {
    keywords: Option<Vec<String>>,
    blocked: Option<Vec<String>>,
    allow_explicit: Option<bool>,
    auto_download: Option<bool>,
    max_new_per_check: Option<Option<usize>>,
    pinned: Option<bool>,
    deadair: Option<Option<bool>>,
    deadair_pause: Option<i64>,
    private: Option<bool>,
    url: Option<String>,
    schedule: Option<Option<String>>,
    folder: Option<Option<String>>,
    category: Option<Option<String>>,
}

What PATCH /api/feeds/{id} changes. Leave out what stays; null clears a field that can be cleared.

Fields

§keywords: Option<Vec<String>>
Yours.
§blocked: Option<Vec<String>>
Yours.
§allow_explicit: Option<bool>
Yours.
§auto_download: Option<bool>
Yours.
§max_new_per_check: Option<Option<usize>>
Yours; null for the server’s.
§pinned: Option<bool>
Yours.
§deadair: Option<Option<bool>>
Yours; null follows its OPML list’s.
§deadair_pause: Option<i64>
Yours: 200, 300, 400 or 500.
§private: Option<bool>
Anyone subscribed may mark it private; only an admin unmarks it.
§url: Option<String>
Admin.
§schedule: Option<Option<String>>
Admin.
§folder: Option<Option<String>>
Admin.
§category: Option<Option<String>>
Admin.

Used by