pub struct Metadata<S>{
pub name: String,
pub spec: S,
pub status: S::Status,
}Fields§
§name: String§spec: S§status: S::StatusImplementations§
Trait Implementations§
Source§impl<S, C> From<MetadataStoreObject<S, C>> for Metadata<S>
impl<S, C> From<MetadataStoreObject<S, C>> for Metadata<S>
Source§fn from(meta: MetadataStoreObject<S, C>) -> Self
fn from(meta: MetadataStoreObject<S, C>) -> Self
Converts to this type from the input type.
Source§impl<S, C> TryFrom<Metadata<S>> for MetadataStoreObject<S, C>
impl<S, C> TryFrom<Metadata<S>> for MetadataStoreObject<S, C>
Auto Trait Implementations§
impl<S> Freeze for Metadata<S>
impl<S> RefUnwindSafe for Metadata<S>
impl<S> Send for Metadata<S>
impl<S> Sync for Metadata<S>
impl<S> Unpin for Metadata<S>
impl<S> UnsafeUnpin for Metadata<S>
impl<S> UnwindSafe for Metadata<S>
Blanket Implementations§
impl<T> AsyncConnector for T
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