pub struct DocumentMetadata {Show 15 fields
pub actions: Option<Vec<Action>>,
pub document_ids: Option<Vec<DocumentIdentifier>>,
pub last_modified: String,
pub links: Option<Vec<Link>>,
pub locations: Option<Vec<Location>>,
pub oscal_version: String,
pub parties: Option<Vec<Party>>,
pub props: Option<Vec<Property>>,
pub published: Option<String>,
pub remarks: Option<String>,
pub responsible_parties: Option<Vec<ResponsibleParty>>,
pub revisions: Option<Vec<RevisionHistoryEntry>>,
pub roles: Option<Vec<Role>>,
pub title: String,
pub version: String,
}
Expand description
Provides information about the containing document, and defines concepts that are shared across the document.
Fields§
§actions: Option<Vec<Action>>
§document_ids: Option<Vec<DocumentIdentifier>>
§last_modified: String
§links: Option<Vec<Link>>
§locations: Option<Vec<Location>>
§oscal_version: String
§parties: Option<Vec<Party>>
§props: Option<Vec<Property>>
§published: Option<String>
§remarks: Option<String>
§responsible_parties: Option<Vec<ResponsibleParty>>
§revisions: Option<Vec<RevisionHistoryEntry>>
§roles: Option<Vec<Role>>
§title: String
A name given to the document, which may be used by a tool for display and navigation.
version: String
Trait Implementations§
Source§impl AsMut<DocumentMetadata> for DocumentMetadata
impl AsMut<DocumentMetadata> for DocumentMetadata
Source§impl AsRef<DocumentMetadata> for DocumentMetadata
impl AsRef<DocumentMetadata> for DocumentMetadata
Source§impl Clone for DocumentMetadata
impl Clone for DocumentMetadata
Source§fn clone(&self) -> DocumentMetadata
fn clone(&self) -> DocumentMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DocumentMetadata
impl Debug for DocumentMetadata
Source§impl<'de> Deserialize<'de> for DocumentMetadata
impl<'de> Deserialize<'de> for DocumentMetadata
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
Source§impl Display for DocumentMetadata
impl Display for DocumentMetadata
Source§impl From<&DocumentMetadata> for DocumentMetadata
impl From<&DocumentMetadata> for DocumentMetadata
Source§fn from(value: &DocumentMetadata) -> Self
fn from(value: &DocumentMetadata) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DocumentMetadata
impl PartialEq for DocumentMetadata
Auto Trait Implementations§
impl Freeze for DocumentMetadata
impl RefUnwindSafe for DocumentMetadata
impl Send for DocumentMetadata
impl Sync for DocumentMetadata
impl Unpin for DocumentMetadata
impl UnwindSafe for DocumentMetadata
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