Enum iroh_blobs::rpc::client::blobs::WrapOption
source · pub enum WrapOption {
NoWrap,
Wrap {
name: Option<String>,
},
}
Available on crate feature
rpc
only.Expand description
Whether to wrap the added data in a collection.
Variants§
Trait Implementations§
source§impl Clone for WrapOption
impl Clone for WrapOption
source§fn clone(&self) -> WrapOption
fn clone(&self) -> WrapOption
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WrapOption
impl Debug for WrapOption
source§impl Default for WrapOption
impl Default for WrapOption
source§fn default() -> WrapOption
fn default() -> WrapOption
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WrapOption
impl<'de> Deserialize<'de> for WrapOption
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WrapOption
impl RefUnwindSafe for WrapOption
impl Send for WrapOption
impl Sync for WrapOption
impl Unpin for WrapOption
impl UnwindSafe for WrapOption
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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