pub struct MotdOptions<'a> {
pub mode: Option<&'a str>,
pub timestamp: Option<&'a str>,
pub environment: Option<&'a str>,
pub copyright: Option<&'a [&'a str]>,
}Fields§
§mode: Option<&'a str>§timestamp: Option<&'a str>§environment: Option<&'a str>§copyright: Option<&'a [&'a str]>Trait Implementations§
Source§impl<'a> Default for MotdOptions<'a>
impl<'a> Default for MotdOptions<'a>
Source§fn default() -> MotdOptions<'a>
fn default() -> MotdOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for MotdOptions<'a>
impl<'a> RefUnwindSafe for MotdOptions<'a>
impl<'a> Send for MotdOptions<'a>
impl<'a> Sync for MotdOptions<'a>
impl<'a> Unpin for MotdOptions<'a>
impl<'a> UnwindSafe for MotdOptions<'a>
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