pub struct DeleteGuardrailResponse {
pub deleted: bool,
}Expand description
Response from DELETE /guardrails/{id}.
Fields§
§deleted: boolTrue when the guardrail existed and was deleted.
Trait Implementations§
Source§impl Clone for DeleteGuardrailResponse
impl Clone for DeleteGuardrailResponse
Source§fn clone(&self) -> DeleteGuardrailResponse
fn clone(&self) -> DeleteGuardrailResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeleteGuardrailResponse
impl Debug for DeleteGuardrailResponse
Source§impl Default for DeleteGuardrailResponse
impl Default for DeleteGuardrailResponse
Source§fn default() -> DeleteGuardrailResponse
fn default() -> DeleteGuardrailResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteGuardrailResponse
impl<'de> Deserialize<'de> for DeleteGuardrailResponse
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 DeleteGuardrailResponse
impl PartialEq for DeleteGuardrailResponse
Source§fn eq(&self, other: &DeleteGuardrailResponse) -> bool
fn eq(&self, other: &DeleteGuardrailResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeleteGuardrailResponse
impl Serialize for DeleteGuardrailResponse
impl Copy for DeleteGuardrailResponse
impl Eq for DeleteGuardrailResponse
impl StructuralPartialEq for DeleteGuardrailResponse
Auto Trait Implementations§
impl Freeze for DeleteGuardrailResponse
impl RefUnwindSafe for DeleteGuardrailResponse
impl Send for DeleteGuardrailResponse
impl Sync for DeleteGuardrailResponse
impl Unpin for DeleteGuardrailResponse
impl UnsafeUnpin for DeleteGuardrailResponse
impl UnwindSafe for DeleteGuardrailResponse
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