pub struct SnapshotSlotDef {
pub kind: Box<str>,
pub constraints: Constraints,
}Expand description
Serializable slot definition for the Slotted strategy.
Fields§
§kind: Box<str>§constraints: ConstraintsTrait Implementations§
Source§impl Clone for SnapshotSlotDef
impl Clone for SnapshotSlotDef
Source§fn clone(&self) -> SnapshotSlotDef
fn clone(&self) -> SnapshotSlotDef
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 SnapshotSlotDef
impl RefUnwindSafe for SnapshotSlotDef
impl Send for SnapshotSlotDef
impl Sync for SnapshotSlotDef
impl Unpin for SnapshotSlotDef
impl UnsafeUnpin for SnapshotSlotDef
impl UnwindSafe for SnapshotSlotDef
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