pub struct EventDate(pub u32);
Expand description
Represents the “event_date” attribute.
Tuple Fields§
§0: u32
Trait Implementations§
Source§impl Attribute for EventDate
impl Attribute for EventDate
Source§const USES_FLOAT_VALUE: bool = false
const USES_FLOAT_VALUE: bool = false
Not part of the schema. Read more
Source§const ATTRIBUTE: AttributeDef
const ATTRIBUTE: AttributeDef
The attribute definition.
Source§fn attribute_value(&self) -> AttributeValue
fn attribute_value(&self) -> AttributeValue
Gets the attribute value.
Source§fn attribute_float_value(&self) -> Option<f32>
fn attribute_float_value(&self) -> Option<f32>
Gets the attribute float value.
Source§impl From<EventDate> for ItemAttribute
impl From<EventDate> for ItemAttribute
Source§impl TryFromIntAttributeValue for EventDate
impl TryFromIntAttributeValue for EventDate
Source§fn try_from_attribute_value(v: AttributeValue) -> Option<Self>
fn try_from_attribute_value(v: AttributeValue) -> Option<Self>
Attempts conversion from an attribute value.
Source§fn try_from_attribute_float_value(v: f32) -> Option<Self>
fn try_from_attribute_float_value(v: f32) -> Option<Self>
Attempts conversion from an attribute float value.
impl Copy for EventDate
impl Eq for EventDate
impl StructuralPartialEq for EventDate
Auto Trait Implementations§
impl Freeze for EventDate
impl RefUnwindSafe for EventDate
impl Send for EventDate
impl Sync for EventDate
impl Unpin for EventDate
impl UnwindSafe for EventDate
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