pub struct GlobalOptions {
pub offline: Option<bool>,
pub timeout: Option<Duration>,
}
Expand description
Options valid on any IPFS Api request
Can be set on a client using BackendWithGlobalOptions
Fields§
§offline: Option<bool>
§timeout: Option<Duration>
Trait Implementations§
Source§impl Default for GlobalOptions
impl Default for GlobalOptions
Source§fn default() -> GlobalOptions
fn default() -> GlobalOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GlobalOptions
impl RefUnwindSafe for GlobalOptions
impl Send for GlobalOptions
impl Sync for GlobalOptions
impl Unpin for GlobalOptions
impl UnwindSafe for GlobalOptions
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