pub struct StateSnapshotInput {
pub app_state: Option<AppStateInput>,
pub subnet_state: Option<SubnetStateInput>,
pub app_directory: Option<AppDirectoryArgs>,
pub subnet_directory: Option<SubnetDirectoryArgs>,
}Expand description
StateSnapshotInput Snapshot of mutable state and directory sections that can be propagated to peers. Pure DTO.
Fields§
§app_state: Option<AppStateInput>§subnet_state: Option<SubnetStateInput>§app_directory: Option<AppDirectoryArgs>§subnet_directory: Option<SubnetDirectoryArgs>Trait Implementations§
Source§impl CandidType for StateSnapshotInput
impl CandidType for StateSnapshotInput
Source§impl Clone for StateSnapshotInput
impl Clone for StateSnapshotInput
Source§fn clone(&self) -> StateSnapshotInput
fn clone(&self) -> StateSnapshotInput
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 moreSource§impl Debug for StateSnapshotInput
impl Debug for StateSnapshotInput
Source§impl<'de> Deserialize<'de> for StateSnapshotInput
impl<'de> Deserialize<'de> for StateSnapshotInput
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
Auto Trait Implementations§
impl Freeze for StateSnapshotInput
impl RefUnwindSafe for StateSnapshotInput
impl Send for StateSnapshotInput
impl Sync for StateSnapshotInput
impl Unpin for StateSnapshotInput
impl UnwindSafe for StateSnapshotInput
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