pub struct ExpiryUnit {
pub name: &'static str,
pub value: &'static str,
pub default: bool,
pub duration: TimeDelta,
}
Fields§
§name: &'static str
§value: &'static str
§default: bool
§duration: TimeDelta
Trait Implementations§
Source§impl Clone for ExpiryUnit
impl Clone for ExpiryUnit
Source§fn clone(&self) -> ExpiryUnit
fn clone(&self) -> ExpiryUnit
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ExpiryUnit
impl RefUnwindSafe for ExpiryUnit
impl Send for ExpiryUnit
impl Sync for ExpiryUnit
impl Unpin for ExpiryUnit
impl UnwindSafe for ExpiryUnit
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