[][src]Struct yamlette::model::yaml::timestamp::TimestampValue

pub struct TimestampValue {
    pub year: Option<i32>,
    pub month: Option<u8>,
    pub day: Option<u8>,
    pub hour: Option<u8>,
    pub minute: Option<u8>,
    pub second: Option<u8>,
    pub fraction: Option<FloatValue>,
    pub tz_hour: Option<i8>,
    pub tz_minute: Option<u8>,
    // some fields omitted
}

Fields

year: Option<i32>month: Option<u8>day: Option<u8>hour: Option<u8>minute: Option<u8>second: Option<u8>fraction: Option<FloatValue>tz_hour: Option<i8>tz_minute: Option<u8>

Methods

impl TimestampValue[src]

pub fn new() -> TimestampValue[src]

pub fn set_tag(&mut self, tag: Cow<'static, str>)[src]

pub fn set_anchor(&mut self, anchor: Cow<'static, str>)[src]

pub fn init_common_styles(&mut self, common_styles: CommonStyles)[src]

pub fn issue_tag(&self) -> bool[src]

pub fn set_issue_tag(&mut self, val: bool)[src]

pub fn year(self, val: i32) -> TimestampValue[src]

pub fn month(self, val: u8) -> TimestampValue[src]

pub fn day(self, val: u8) -> TimestampValue[src]

pub fn hour(self, val: u8) -> TimestampValue[src]

pub fn minute(self, val: u8) -> TimestampValue[src]

pub fn second(self, val: u8) -> TimestampValue[src]

pub fn fraction(self, val: FloatValue) -> TimestampValue[src]

pub fn tz_hour(self, val: i8) -> TimestampValue[src]

pub fn tz_minute(self, val: u8) -> TimestampValue[src]

Trait Implementations

impl Tagged for TimestampValue[src]

impl Chord for TimestampValue[src]

impl Clone for TimestampValue[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl From<TimestampValue> for TaggedValue[src]

impl Debug for TimestampValue[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]