pub struct HostMetadata<A: Debug + Clone + Default> {
pub metadata: Vec<TypedGenericMetadata<A>>,
pub aug: A,
}Fields§
§metadata: Vec<TypedGenericMetadata<A>>§aug: ATrait Implementations§
Source§impl<A: Clone + Debug + Clone + Default> Clone for HostMetadata<A>
impl<A: Clone + Debug + Clone + Default> Clone for HostMetadata<A>
Source§fn clone(&self) -> HostMetadata<A>
fn clone(&self) -> HostMetadata<A>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de, A> Deserialize<'de> for HostMetadata<A>
impl<'de, A> Deserialize<'de> for HostMetadata<A>
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<A> Freeze for HostMetadata<A>where
A: Freeze,
impl<A> RefUnwindSafe for HostMetadata<A>where
A: RefUnwindSafe,
impl<A> Send for HostMetadata<A>where
A: Send,
impl<A> Sync for HostMetadata<A>where
A: Sync,
impl<A> Unpin for HostMetadata<A>where
A: Unpin,
impl<A> UnsafeUnpin for HostMetadata<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for HostMetadata<A>where
A: UnwindSafe,
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