#[non_exhaustive]pub struct DeleteContextRequest {
pub name: String,
pub force: bool,
pub etag: String,
/* private fields */
}Expand description
Request message for MetadataService.DeleteContext.
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.name: StringRequired. The resource name of the Context to delete.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}
force: boolThe force deletion semantics is still undefined. Users should not use this field.
etag: StringOptional. The etag of the Context to delete. If this is provided, it must match the server’s etag. Otherwise, the request will fail with a FAILED_PRECONDITION.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteContextRequest
impl Clone for DeleteContextRequest
Source§fn clone(&self) -> DeleteContextRequest
fn clone(&self) -> DeleteContextRequest
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 DeleteContextRequest
impl Debug for DeleteContextRequest
Source§impl Default for DeleteContextRequest
impl Default for DeleteContextRequest
Source§fn default() -> DeleteContextRequest
fn default() -> DeleteContextRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteContextRequestwhere
DeleteContextRequest: Default,
impl<'de> Deserialize<'de> for DeleteContextRequestwhere
DeleteContextRequest: Default,
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 Message for DeleteContextRequest
impl Message for DeleteContextRequest
Source§impl PartialEq for DeleteContextRequest
impl PartialEq for DeleteContextRequest
Source§impl Serialize for DeleteContextRequest
impl Serialize for DeleteContextRequest
impl StructuralPartialEq for DeleteContextRequest
Auto Trait Implementations§
impl Freeze for DeleteContextRequest
impl RefUnwindSafe for DeleteContextRequest
impl Send for DeleteContextRequest
impl Sync for DeleteContextRequest
impl Unpin for DeleteContextRequest
impl UnwindSafe for DeleteContextRequest
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