pub struct RetainOption {
pub duration_seconds: u64,
pub sync_safe: bool,
}Fields§
§duration_seconds: u64§sync_safe: boolTrait Implementations§
Source§impl Clone for RetainOption
impl Clone for RetainOption
Source§fn clone(&self) -> RetainOption
fn clone(&self) -> RetainOption
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 moreAuto Trait Implementations§
impl Freeze for RetainOption
impl RefUnwindSafe for RetainOption
impl Send for RetainOption
impl Sync for RetainOption
impl Unpin for RetainOption
impl UnsafeUnpin for RetainOption
impl UnwindSafe for RetainOption
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