#[non_exhaustive]pub struct MemoryDeleteRequest {
pub target: MemoryTarget,
pub expected_revision_id: 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: StringImplementations§
Source§impl MemoryDeleteRequest
impl MemoryDeleteRequest
pub fn new( target: MemoryTarget, expected_revision_id: impl Into<String>, ) -> Self
Trait Implementations§
Source§impl Clone for MemoryDeleteRequest
impl Clone for MemoryDeleteRequest
Auto Trait Implementations§
impl Forget for MemoryDeleteRequest
impl Freeze for MemoryDeleteRequest
impl Move for MemoryDeleteRequest
impl RefUnwindSafe for MemoryDeleteRequest
impl Send for MemoryDeleteRequestwhere
RawVecInner: Send,
impl Sync for MemoryDeleteRequestwhere
RawVecInner: Sync,
impl Unpin for MemoryDeleteRequest
impl UnsafeUnpin for MemoryDeleteRequest
impl UnwindSafe for MemoryDeleteRequestwhere
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