Struct grin_p2p::types::AttachmentUpdate
source · pub struct AttachmentUpdate {
pub read: usize,
pub left: usize,
pub meta: Arc<AttachmentMeta>,
}
Fields§
§read: usize
§left: usize
§meta: Arc<AttachmentMeta>
Trait Implementations§
source§impl Clone for AttachmentUpdate
impl Clone for AttachmentUpdate
source§fn clone(&self) -> AttachmentUpdate
fn clone(&self) -> AttachmentUpdate
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 moreAuto Trait Implementations§
impl Freeze for AttachmentUpdate
impl RefUnwindSafe for AttachmentUpdate
impl Send for AttachmentUpdate
impl Sync for AttachmentUpdate
impl Unpin for AttachmentUpdate
impl UnwindSafe for AttachmentUpdate
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
source§impl<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.