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: boolTrait Implementations§
Source§impl Clone for PromptSegmentOptions
impl Clone for PromptSegmentOptions
Source§fn clone(&self) -> PromptSegmentOptions
fn clone(&self) -> PromptSegmentOptions
Returns a duplicate 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 moreSource§impl Debug for PromptSegmentOptions
impl Debug for PromptSegmentOptions
Source§impl Default for PromptSegmentOptions
impl Default for PromptSegmentOptions
Source§fn default() -> PromptSegmentOptions
fn default() -> PromptSegmentOptions
Returns the “default value” for a type. Read more
Auto 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