Struct dae_parser::Asset
source · [−]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: MaybeDateTimeContains 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: MaybeDateTimeContains 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: UnitDefines unit of distance for COLLADA elements and objects.
up_axis: UpAxisContains descriptive information about the coordinate system of the geometric data.
Implementations
sourceimpl 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.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Asset
impl Send for Asset
impl Sync for Asset
impl Unpin for Asset
impl UnwindSafe for Asset
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more