pub struct FixedOffsetGenerator { /* private fields */ }Available on crate feature
chrono only.Expand description
Generator for chrono::FixedOffset values. Created by fixed_offsets().
Implementations§
Source§impl FixedOffsetGenerator
impl FixedOffsetGenerator
Sourcepub fn min_value(self, min: FixedOffset) -> Self
pub fn min_value(self, min: FixedOffset) -> Self
Set the minimum offset (inclusive).
Sourcepub fn max_value(self, max: FixedOffset) -> Self
pub fn max_value(self, max: FixedOffset) -> Self
Set the maximum offset (inclusive).
Trait Implementations§
Source§impl Generator<FixedOffset> for FixedOffsetGenerator
impl Generator<FixedOffset> for FixedOffsetGenerator
Source§fn map<U, F>(self, f: F) -> Mapped<T, U, F, Self>
fn map<U, F>(self, f: F) -> Mapped<T, U, F, Self>
Transform generated values using a function. Read more
Source§fn flat_map<U, G, F>(self, f: F) -> FlatMapped<T, U, G, F, Self>
fn flat_map<U, G, F>(self, f: F) -> FlatMapped<T, U, G, F, Self>
Generate a value, then use it to choose or configure another generator. Read more
Auto Trait Implementations§
impl Freeze for FixedOffsetGenerator
impl RefUnwindSafe for FixedOffsetGenerator
impl Send for FixedOffsetGenerator
impl Sync for FixedOffsetGenerator
impl Unpin for FixedOffsetGenerator
impl UnsafeUnpin for FixedOffsetGenerator
impl UnwindSafe for FixedOffsetGenerator
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