Struct grin_p2p::types::AttachmentMeta
source · pub struct AttachmentMeta {
pub size: usize,
pub hash: Hash,
pub height: u64,
pub start_time: DateTime<Utc>,
pub path: PathBuf,
}
Fields§
§size: usize
§hash: Hash
§height: u64
§start_time: DateTime<Utc>
§path: PathBuf
Trait Implementations§
source§impl Clone for AttachmentMeta
impl Clone for AttachmentMeta
source§fn clone(&self) -> AttachmentMeta
fn clone(&self) -> AttachmentMeta
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 AttachmentMeta
impl RefUnwindSafe for AttachmentMeta
impl Send for AttachmentMeta
impl Sync for AttachmentMeta
impl Unpin for AttachmentMeta
impl UnwindSafe for AttachmentMeta
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.