pub struct PolicyRequestBody {
pub policy_id: PolicyRequestBodyPolicyId,
}Expand description
Unique ID of the policy to take actions on.
JSON schema
{
"description": "Unique ID of the policy to take actions on.",
"type": "object",
"required": [
"policy_id"
],
"properties": {
"policy_id": {
"type": "string",
"maxLength": 24,
"minLength": 24
}
}
}Fields§
§policy_id: PolicyRequestBodyPolicyIdTrait Implementations§
Source§impl Clone for PolicyRequestBody
impl Clone for PolicyRequestBody
Source§fn clone(&self) -> PolicyRequestBody
fn clone(&self) -> PolicyRequestBody
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 PolicyRequestBody
impl Debug for PolicyRequestBody
Source§impl<'de> Deserialize<'de> for PolicyRequestBody
impl<'de> Deserialize<'de> for PolicyRequestBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PolicyRequestBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PolicyRequestBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&PolicyRequestBody> for PolicyRequestBody
impl From<&PolicyRequestBody> for PolicyRequestBody
Source§fn from(value: &PolicyRequestBody) -> PolicyRequestBody
fn from(value: &PolicyRequestBody) -> PolicyRequestBody
Converts to this type from the input type.
Source§impl Serialize for PolicyRequestBody
impl Serialize for PolicyRequestBody
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 PolicyRequestBody
impl RefUnwindSafe for PolicyRequestBody
impl Send for PolicyRequestBody
impl Sync for PolicyRequestBody
impl Unpin for PolicyRequestBody
impl UnwindSafe for PolicyRequestBody
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