pub enum RuleIntentRequestDetails {
CreateRequestDetails(RuleIntentCreateRequestDetails),
UpdateRequestDetails(RuleIntentUpdateRequestDetails),
DeleteRequestDetails(RuleIntentDeleteRequestDetails),
}Expand description
The original rule request. Method is POST (create), PATCH (update), or DELETE (delete)
JSON schema
{
"title": "RuleIntentRequestDetails",
"description": "The original rule request. Method is POST (create),
PATCH (update), or DELETE (delete)",
"oneOf": [
{
"$ref": "#/components/schemas/RuleIntentCreateRequestDetails"
},
{
"$ref": "#/components/schemas/RuleIntentUpdateRequestDetails"
},
{
"$ref": "#/components/schemas/RuleIntentDeleteRequestDetails"
}
],
"x-stainless-model": "intents.rule_intent_request_details"
}Variants§
CreateRequestDetails(RuleIntentCreateRequestDetails)
UpdateRequestDetails(RuleIntentUpdateRequestDetails)
DeleteRequestDetails(RuleIntentDeleteRequestDetails)
Trait Implementations§
Source§impl Clone for RuleIntentRequestDetails
impl Clone for RuleIntentRequestDetails
Source§fn clone(&self) -> RuleIntentRequestDetails
fn clone(&self) -> RuleIntentRequestDetails
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 RuleIntentRequestDetails
impl Debug for RuleIntentRequestDetails
Source§impl<'de> Deserialize<'de> for RuleIntentRequestDetails
impl<'de> Deserialize<'de> for RuleIntentRequestDetails
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 From<&RuleIntentRequestDetails> for RuleIntentRequestDetails
impl From<&RuleIntentRequestDetails> for RuleIntentRequestDetails
Source§fn from(value: &RuleIntentRequestDetails) -> Self
fn from(value: &RuleIntentRequestDetails) -> Self
Converts to this type from the input type.
Source§impl From<RuleIntentCreateRequestDetails> for RuleIntentRequestDetails
impl From<RuleIntentCreateRequestDetails> for RuleIntentRequestDetails
Source§fn from(value: RuleIntentCreateRequestDetails) -> Self
fn from(value: RuleIntentCreateRequestDetails) -> Self
Converts to this type from the input type.
Source§impl From<RuleIntentDeleteRequestDetails> for RuleIntentRequestDetails
impl From<RuleIntentDeleteRequestDetails> for RuleIntentRequestDetails
Source§fn from(value: RuleIntentDeleteRequestDetails) -> Self
fn from(value: RuleIntentDeleteRequestDetails) -> Self
Converts to this type from the input type.
Source§impl From<RuleIntentUpdateRequestDetails> for RuleIntentRequestDetails
impl From<RuleIntentUpdateRequestDetails> for RuleIntentRequestDetails
Source§fn from(value: RuleIntentUpdateRequestDetails) -> Self
fn from(value: RuleIntentUpdateRequestDetails) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RuleIntentRequestDetails
impl RefUnwindSafe for RuleIntentRequestDetails
impl Send for RuleIntentRequestDetails
impl Sync for RuleIntentRequestDetails
impl Unpin for RuleIntentRequestDetails
impl UnsafeUnpin for RuleIntentRequestDetails
impl UnwindSafe for RuleIntentRequestDetails
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