pub struct PersistSnapshotPayload {
pub storage_key: Option<String>,
pub snapshot: String,
}Expand description
Payload for graph_persist_snapshot — serialised graph state sent from TS.
Fields§
§storage_key: Option<String>§snapshot: StringJSON-serialised GraphSnapshotPayload produced by the TS layer.
Trait Implementations§
Source§impl Clone for PersistSnapshotPayload
impl Clone for PersistSnapshotPayload
Source§fn clone(&self) -> PersistSnapshotPayload
fn clone(&self) -> PersistSnapshotPayload
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 moreSource§impl Debug for PersistSnapshotPayload
impl Debug for PersistSnapshotPayload
Source§impl<'de> Deserialize<'de> for PersistSnapshotPayload
impl<'de> Deserialize<'de> for PersistSnapshotPayload
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 PersistSnapshotPayload
impl RefUnwindSafe for PersistSnapshotPayload
impl Send for PersistSnapshotPayload
impl Sync for PersistSnapshotPayload
impl Unpin for PersistSnapshotPayload
impl UnwindSafe for PersistSnapshotPayload
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