pub struct SourceOptions {
pub kind: Option<String>,
pub every: Option<String>,
}Expand description
Options for Client::add_source.
Fields§
§kind: Option<String>"feed" or "page"; left out, the server fetches it once to tell.
every: Option<String>How often it is read: "30m", "6h", "1d".
Trait Implementations§
Source§impl Clone for SourceOptions
impl Clone for SourceOptions
Source§impl Debug for SourceOptions
impl Debug for SourceOptions
Auto Trait Implementations§
impl Freeze for SourceOptions
impl RefUnwindSafe for SourceOptions
impl Send for SourceOptions
impl Sync for SourceOptions
impl Unpin for SourceOptions
impl UnsafeUnpin for SourceOptions
impl UnwindSafe for SourceOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more