pub struct PromptSegmentOptions {
pub no_5h: bool,
pub ttl: Option<String>,
pub time_format: Option<String>,
pub show_timezone: bool,
pub refresh: bool,
pub is_enabled: bool,
}Fields§
§no_5h: bool§ttl: Option<String>§time_format: Option<String>§show_timezone: bool§refresh: bool§is_enabled: boolAuto Trait Implementations§
impl Freeze for PromptSegmentOptions
impl RefUnwindSafe for PromptSegmentOptions
impl Send for PromptSegmentOptions
impl Sync for PromptSegmentOptions
impl Unpin for PromptSegmentOptions
impl UnsafeUnpin for PromptSegmentOptions
impl UnwindSafe for PromptSegmentOptions
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