Struct ion_rs::types::HourAndMinuteSetter
source · pub struct HourAndMinuteSetter { /* private fields */ }
Expand description
Allows the user to set the hour
and minute
fields on a builder that has already
had its year
, month
, and day
fields set. Or, if Day
is the desired precision,
they may build the Timestamp with an unknown offset instead.
Implementations§
source§impl HourAndMinuteSetter
impl HourAndMinuteSetter
pub fn with_hms( self, hour: u32, minute: u32, second: u32 ) -> FractionalSecondSetter
pub fn with_hour_and_minute(self, hour: u32, minute: u32) -> SecondSetter
pub fn build(self) -> IonResult<Timestamp>
Trait Implementations§
source§impl Clone for HourAndMinuteSetter
impl Clone for HourAndMinuteSetter
source§fn clone(&self) -> HourAndMinuteSetter
fn clone(&self) -> HourAndMinuteSetter
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for HourAndMinuteSetter
impl Send for HourAndMinuteSetter
impl Sync for HourAndMinuteSetter
impl Unpin for HourAndMinuteSetter
impl UnwindSafe for HourAndMinuteSetter
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