#[non_exhaustive]pub struct GuardrailDeleteResponse {
pub deleted: bool,
}Expand description
Response for guardrail deletion.
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.deleted: boolWhether the guardrail was deleted.
Trait Implementations§
Source§impl Clone for GuardrailDeleteResponse
impl Clone for GuardrailDeleteResponse
Source§fn clone(&self) -> GuardrailDeleteResponse
fn clone(&self) -> GuardrailDeleteResponse
Returns a duplicate 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 GuardrailDeleteResponse
impl Debug for GuardrailDeleteResponse
Source§impl<'de> Deserialize<'de> for GuardrailDeleteResponse
impl<'de> Deserialize<'de> for GuardrailDeleteResponse
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 GuardrailDeleteResponse
impl PartialEq for GuardrailDeleteResponse
Source§impl Serialize for GuardrailDeleteResponse
impl Serialize for GuardrailDeleteResponse
impl Eq for GuardrailDeleteResponse
impl StructuralPartialEq for GuardrailDeleteResponse
Auto Trait Implementations§
impl Freeze for GuardrailDeleteResponse
impl RefUnwindSafe for GuardrailDeleteResponse
impl Send for GuardrailDeleteResponse
impl Sync for GuardrailDeleteResponse
impl Unpin for GuardrailDeleteResponse
impl UnsafeUnpin for GuardrailDeleteResponse
impl UnwindSafe for GuardrailDeleteResponse
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