pub struct RuleIntentDeleteRequestDetails {
pub body: Map<String, Value>,
pub method: RuleIntentDeleteRequestDetailsMethod,
pub url: RuleIntentDeleteRequestDetailsUrl,
}Expand description
Request details for deleting a rule via intent.
JSON schema
{
"title": "RuleIntentDeleteRequestDetails",
"description": "Request details for deleting a rule via intent.",
"type": "object",
"required": [
"method",
"url"
],
"properties": {
"body": {
"default": {},
"type": "object",
"x-stainless-empty-object": true
},
"method": {
"type": "string",
"enum": [
"DELETE"
]
},
"url": {
"type": "string",
"pattern":
"(?:https:\\/\\/(?:[^/]+\\.privy\\.io|privy\\.io|[^/]+\\.privy-preview\\
.app|privy-preview\\.app)(?:\\/api)?|http:\\/\\/localhost(?::\\d+)?(?:\\
/api)?)\\/v1\\/policies\\/[0-9a-z]{24,32}\\/rules\\/[0-9a-z]{24,32}$"
}
},
"x-stainless-model": "intents.rule_intent_delete_request_details"
}Fields§
§body: Map<String, Value>§method: RuleIntentDeleteRequestDetailsMethod§url: RuleIntentDeleteRequestDetailsUrlTrait Implementations§
Source§impl Clone for RuleIntentDeleteRequestDetails
impl Clone for RuleIntentDeleteRequestDetails
Source§fn clone(&self) -> RuleIntentDeleteRequestDetails
fn clone(&self) -> RuleIntentDeleteRequestDetails
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<'de> Deserialize<'de> for RuleIntentDeleteRequestDetails
impl<'de> Deserialize<'de> for RuleIntentDeleteRequestDetails
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<&RuleIntentDeleteRequestDetails> for RuleIntentDeleteRequestDetails
impl From<&RuleIntentDeleteRequestDetails> for RuleIntentDeleteRequestDetails
Source§fn from(value: &RuleIntentDeleteRequestDetails) -> Self
fn from(value: &RuleIntentDeleteRequestDetails) -> 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.
Auto Trait Implementations§
impl Freeze for RuleIntentDeleteRequestDetails
impl RefUnwindSafe for RuleIntentDeleteRequestDetails
impl Send for RuleIntentDeleteRequestDetails
impl Sync for RuleIntentDeleteRequestDetails
impl Unpin for RuleIntentDeleteRequestDetails
impl UnsafeUnpin for RuleIntentDeleteRequestDetails
impl UnwindSafe for RuleIntentDeleteRequestDetails
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