pub struct SnapshotRequest {
pub scope_type: SnapshotScopeType,
pub scope_id: String,
}Expand description
A request to take a state snapshot.
Fields§
§scope_type: SnapshotScopeTypeWhether this is a project or task snapshot.
scope_id: StringID of the entity to snapshot.
Trait Implementations§
Source§impl Clone for SnapshotRequest
impl Clone for SnapshotRequest
Source§fn clone(&self) -> SnapshotRequest
fn clone(&self) -> SnapshotRequest
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 SnapshotRequest
impl Debug for SnapshotRequest
Source§impl<'de> Deserialize<'de> for SnapshotRequest
impl<'de> Deserialize<'de> for SnapshotRequest
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
Source§impl RoutedBody for SnapshotRequest
impl RoutedBody for SnapshotRequest
Auto Trait Implementations§
impl Freeze for SnapshotRequest
impl RefUnwindSafe for SnapshotRequest
impl Send for SnapshotRequest
impl Sync for SnapshotRequest
impl Unpin for SnapshotRequest
impl UnsafeUnpin for SnapshotRequest
impl UnwindSafe for SnapshotRequest
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