pub struct Asset {
pub contributor: Vec<Contributor>,
pub created: MaybeDateTime,
pub keywords: Vec<String>,
pub modified: MaybeDateTime,
pub revision: Option<String>,
pub subject: Option<String>,
pub title: Option<String>,
pub unit: Unit,
pub up_axis: UpAxis,
}
Expand description
Defines asset-management information regarding its parent element.
Fields§
§contributor: Vec<Contributor>
Defines data related to a contributor that worked on the parent element.
created: MaybeDateTime
Contains date and time that the parent element was created.
Represented in an ISO 8601 format as per the XML Schema
dateTime
primitive type.
keywords: Vec<String>
Contains a list of words used as search criteria for the parent element.
modified: MaybeDateTime
Contains date and time that the parent element was last
modified. Represented in an ISO 8601 format as per the
XML Schema dateTime
primitive type.
revision: Option<String>
Contains revision information for the parent element.
subject: Option<String>
Contains a description of the topical subject of the parent element.
title: Option<String>
Contains title information for the parent element.
unit: Unit
Defines unit of distance for COLLADA elements and objects.
up_axis: UpAxis
Contains descriptive information about the coordinate system of the geometric data.
Implementations§
Source§impl Asset
impl Asset
Sourcepub fn new(
created: DateTime<FixedOffset>,
modified: DateTime<FixedOffset>,
) -> Self
pub fn new( created: DateTime<FixedOffset>, modified: DateTime<FixedOffset>, ) -> Self
Create a new Asset
with the given creation and modification dates
and defaulting everything else.
Sourcepub fn create_now() -> Self
pub fn create_now() -> Self
Create a new Asset
object representing an object created at the current date/time.