pub struct MetadataEntity {
pub resource: Resource,
pub properties: Option<MetadataEntityProperties>,
}
Expand description
The metadata entity contract.
Fields
resource: Resource
properties: Option<MetadataEntityProperties>
The metadata entity properties
Implementations
sourceimpl MetadataEntity
impl MetadataEntity
Trait Implementations
sourceimpl Clone for MetadataEntity
impl Clone for MetadataEntity
sourcefn clone(&self) -> MetadataEntity
fn clone(&self) -> MetadataEntity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MetadataEntity
impl Debug for MetadataEntity
sourceimpl Default for MetadataEntity
impl Default for MetadataEntity
sourcefn default() -> MetadataEntity
fn default() -> MetadataEntity
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for MetadataEntity
impl<'de> Deserialize<'de> for MetadataEntity
sourcefn 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
sourceimpl PartialEq<MetadataEntity> for MetadataEntity
impl PartialEq<MetadataEntity> for MetadataEntity
sourcefn eq(&self, other: &MetadataEntity) -> bool
fn eq(&self, other: &MetadataEntity) -> bool
sourceimpl Serialize for MetadataEntity
impl Serialize for MetadataEntity
impl StructuralPartialEq for MetadataEntity
Auto Trait Implementations
impl RefUnwindSafe for MetadataEntity
impl Send for MetadataEntity
impl Sync for MetadataEntity
impl Unpin for MetadataEntity
impl UnwindSafe for MetadataEntity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more