pub struct StarshipOptions {
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 StarshipOptions
impl Clone for StarshipOptions
Source§fn clone(&self) -> StarshipOptions
fn clone(&self) -> StarshipOptions
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 StarshipOptions
impl Debug for StarshipOptions
Source§impl Default for StarshipOptions
impl Default for StarshipOptions
Source§fn default() -> StarshipOptions
fn default() -> StarshipOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StarshipOptions
impl RefUnwindSafe for StarshipOptions
impl Send for StarshipOptions
impl Sync for StarshipOptions
impl Unpin for StarshipOptions
impl UnsafeUnpin for StarshipOptions
impl UnwindSafe for StarshipOptions
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