#[non_exhaustive]pub struct MemoryUndoRequest {
pub target: MemoryTarget,
pub expected_revision_id: String,
pub target_revision_id: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.target: MemoryTarget§expected_revision_id: String§target_revision_id: Option<String>Implementations§
Source§impl MemoryUndoRequest
impl MemoryUndoRequest
pub fn new( target: MemoryTarget, expected_revision_id: impl Into<String>, ) -> Self
pub fn target_revision_id(self, revision_id: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for MemoryUndoRequest
impl Clone for MemoryUndoRequest
Auto Trait Implementations§
impl Forget for MemoryUndoRequest
impl Freeze for MemoryUndoRequest
impl Move for MemoryUndoRequest
impl RefUnwindSafe for MemoryUndoRequest
impl Send for MemoryUndoRequestwhere
RawVecInner: Send,
impl Sync for MemoryUndoRequestwhere
RawVecInner: Sync,
impl Unpin for MemoryUndoRequest
impl UnsafeUnpin for MemoryUndoRequest
impl UnwindSafe for MemoryUndoRequestwhere
RawVecInner: UnwindSafe,
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