pub struct RuleIntentUpdateRequestDetails {
pub body: PolicyRuleRequestBody,
pub method: RuleIntentUpdateRequestDetailsMethod,
pub url: RuleIntentUpdateRequestDetailsUrl,
}Expand description
Request details for updating a rule via intent.
JSON schema
{
"title": "RuleIntentUpdateRequestDetails",
"description": "Request details for updating a rule via intent.",
"type": "object",
"required": [
"body",
"method",
"url"
],
"properties": {
"body": {
"$ref": "#/components/schemas/PolicyRuleRequestBody"
},
"method": {
"type": "string",
"enum": [
"PATCH"
]
},
"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_update_request_details"
}Fields§
§body: PolicyRuleRequestBody§method: RuleIntentUpdateRequestDetailsMethod§url: RuleIntentUpdateRequestDetailsUrlTrait Implementations§
Source§impl Clone for RuleIntentUpdateRequestDetails
impl Clone for RuleIntentUpdateRequestDetails
Source§fn clone(&self) -> RuleIntentUpdateRequestDetails
fn clone(&self) -> RuleIntentUpdateRequestDetails
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 RuleIntentUpdateRequestDetails
impl<'de> Deserialize<'de> for RuleIntentUpdateRequestDetails
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RuleIntentUpdateRequestDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RuleIntentUpdateRequestDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&RuleIntentUpdateRequestDetails> for RuleIntentUpdateRequestDetails
impl From<&RuleIntentUpdateRequestDetails> for RuleIntentUpdateRequestDetails
Source§fn from(
value: &RuleIntentUpdateRequestDetails,
) -> RuleIntentUpdateRequestDetails
fn from( value: &RuleIntentUpdateRequestDetails, ) -> RuleIntentUpdateRequestDetails
Converts to this type from the input type.
Source§impl From<RuleIntentUpdateRequestDetails> for RuleIntentRequestDetails
impl From<RuleIntentUpdateRequestDetails> for RuleIntentRequestDetails
Source§fn from(value: RuleIntentUpdateRequestDetails) -> RuleIntentRequestDetails
fn from(value: RuleIntentUpdateRequestDetails) -> RuleIntentRequestDetails
Converts to this type from the input type.
Source§impl Serialize for RuleIntentUpdateRequestDetails
impl Serialize for RuleIntentUpdateRequestDetails
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for RuleIntentUpdateRequestDetails
impl RefUnwindSafe for RuleIntentUpdateRequestDetails
impl Send for RuleIntentUpdateRequestDetails
impl Sync for RuleIntentUpdateRequestDetails
impl Unpin for RuleIntentUpdateRequestDetails
impl UnsafeUnpin for RuleIntentUpdateRequestDetails
impl UnwindSafe for RuleIntentUpdateRequestDetails
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