pub struct Metadata {
pub name: Option<String>,
pub value: Option<String>,
pub resource: Option<String>,
}Expand description
A metadata entry: a literal value, a $profile: resource, or both.
Fields§
§name: Option<String>§value: Option<String>§resource: Option<String>Trait Implementations§
impl Eq for Metadata
impl StructuralPartialEq for Metadata
Auto Trait Implementations§
impl Forget for Metadata
impl Freeze for Metadata
impl Move for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnsafeUnpin for Metadata
impl UnwindSafe for Metadata
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