#[non_exhaustive]pub struct DeleteReasoningEngineRequest {
pub name: String,
pub force: bool,
/* private fields */
}Expand description
Request message for ReasoningEngineService.DeleteReasoningEngine.
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 name of the ReasoningEngine resource to be deleted.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}
force: boolOptional. If set to true, child resources of this reasoning engine will also be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error when the reasoning engine has undeleted child resources.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteReasoningEngineRequest
impl Clone for DeleteReasoningEngineRequest
Source§fn clone(&self) -> DeleteReasoningEngineRequest
fn clone(&self) -> DeleteReasoningEngineRequest
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 DeleteReasoningEngineRequest
impl Debug for DeleteReasoningEngineRequest
Source§impl Default for DeleteReasoningEngineRequest
impl Default for DeleteReasoningEngineRequest
Source§fn default() -> DeleteReasoningEngineRequest
fn default() -> DeleteReasoningEngineRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteReasoningEngineRequestwhere
DeleteReasoningEngineRequest: Default,
impl<'de> Deserialize<'de> for DeleteReasoningEngineRequestwhere
DeleteReasoningEngineRequest: 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 PartialEq for DeleteReasoningEngineRequest
impl PartialEq for DeleteReasoningEngineRequest
Source§fn eq(&self, other: &DeleteReasoningEngineRequest) -> bool
fn eq(&self, other: &DeleteReasoningEngineRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteReasoningEngineRequest
Auto Trait Implementations§
impl Freeze for DeleteReasoningEngineRequest
impl RefUnwindSafe for DeleteReasoningEngineRequest
impl Send for DeleteReasoningEngineRequest
impl Sync for DeleteReasoningEngineRequest
impl Unpin for DeleteReasoningEngineRequest
impl UnwindSafe for DeleteReasoningEngineRequest
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