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