pub struct CheckpointContract {
pub mode: CheckpointMode,
pub max_snapshot_bytes: u64,
pub max_interval_invocations: u32,
}Fields§
§mode: CheckpointMode§max_snapshot_bytes: u64§max_interval_invocations: u32Trait Implementations§
Source§impl Clone for CheckpointContract
impl Clone for CheckpointContract
Source§fn clone(&self) -> CheckpointContract
fn clone(&self) -> CheckpointContract
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CheckpointContract
impl Debug for CheckpointContract
Source§impl<'de> Deserialize<'de> for CheckpointContract
impl<'de> Deserialize<'de> for CheckpointContract
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CheckpointContract
Source§impl PartialEq for CheckpointContract
impl PartialEq for CheckpointContract
Source§impl Serialize for CheckpointContract
impl Serialize for CheckpointContract
impl StructuralPartialEq for CheckpointContract
Auto Trait Implementations§
impl Freeze for CheckpointContract
impl RefUnwindSafe for CheckpointContract
impl Send for CheckpointContract
impl Sync for CheckpointContract
impl Unpin for CheckpointContract
impl UnsafeUnpin for CheckpointContract
impl UnwindSafe for CheckpointContract
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