pub struct BlockAttachment { /* private fields */ }Implementations§
Source§impl BlockAttachment
impl BlockAttachment
pub fn new() -> Self
pub fn get(&self, digest: &str) -> Option<String>
pub fn to_seal_bundle(&self) -> SealBundle
Trait Implementations§
Source§impl Clone for BlockAttachment
impl Clone for BlockAttachment
Source§fn clone(&self) -> BlockAttachment
fn clone(&self) -> BlockAttachment
Returns a duplicate 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 BlockAttachment
impl Debug for BlockAttachment
Source§impl Default for BlockAttachment
impl Default for BlockAttachment
Source§fn default() -> BlockAttachment
fn default() -> BlockAttachment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlockAttachment
impl<'de> Deserialize<'de> for BlockAttachment
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 BlockAttachment
impl RefUnwindSafe for BlockAttachment
impl Send for BlockAttachment
impl Sync for BlockAttachment
impl Unpin for BlockAttachment
impl UnwindSafe for BlockAttachment
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