pub struct ContentMetadataRecord {
pub content_reference_key: String,
pub content_metadata: Box<ContentMetadata>,
}Expand description
ContentMetadataRecord : The metadata for an A+ Content document, with additional information for content management.
Fields
content_reference_key: StringA unique reference key for the A+ Content document. A content reference key cannot form a permalink and may change in the future. A content reference key is not guaranteed to match any A+ content identifier.
content_metadata: Box<ContentMetadata>Implementations
sourceimpl ContentMetadataRecord
impl ContentMetadataRecord
sourcepub fn new(
content_reference_key: String,
content_metadata: ContentMetadata
) -> ContentMetadataRecord
pub fn new(
content_reference_key: String,
content_metadata: ContentMetadata
) -> ContentMetadataRecord
The metadata for an A+ Content document, with additional information for content management.
Trait Implementations
sourceimpl Clone for ContentMetadataRecord
impl Clone for ContentMetadataRecord
sourcefn clone(&self) -> ContentMetadataRecord
fn clone(&self) -> ContentMetadataRecord
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 ContentMetadataRecord
impl Debug for ContentMetadataRecord
sourceimpl Default for ContentMetadataRecord
impl Default for ContentMetadataRecord
sourcefn default() -> ContentMetadataRecord
fn default() -> ContentMetadataRecord
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ContentMetadataRecord
impl<'de> Deserialize<'de> for ContentMetadataRecord
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<ContentMetadataRecord> for ContentMetadataRecord
impl PartialEq<ContentMetadataRecord> for ContentMetadataRecord
sourcefn eq(&self, other: &ContentMetadataRecord) -> bool
fn eq(&self, other: &ContentMetadataRecord) -> bool
sourceimpl Serialize for ContentMetadataRecord
impl Serialize for ContentMetadataRecord
impl StructuralPartialEq for ContentMetadataRecord
Auto Trait Implementations
impl RefUnwindSafe for ContentMetadataRecord
impl Send for ContentMetadataRecord
impl Sync for ContentMetadataRecord
impl Unpin for ContentMetadataRecord
impl UnwindSafe for ContentMetadataRecord
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