pub struct PolicyResponseModel {
pub object: Option<String>,
pub id: Option<String>,
pub organization_id: Option<String>,
pub _type: Option<PolicyType>,
pub data: Option<HashMap<String, Value>>,
pub enabled: Option<bool>,
}
Fields§
§object: Option<String>
§id: Option<String>
§organization_id: Option<String>
§_type: Option<PolicyType>
§data: Option<HashMap<String, Value>>
§enabled: Option<bool>
Implementations§
source§impl PolicyResponseModel
impl PolicyResponseModel
pub fn new() -> PolicyResponseModel
Trait Implementations§
source§impl Clone for PolicyResponseModel
impl Clone for PolicyResponseModel
source§fn clone(&self) -> PolicyResponseModel
fn clone(&self) -> PolicyResponseModel
Returns a copy 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 PolicyResponseModel
impl Debug for PolicyResponseModel
source§impl Default for PolicyResponseModel
impl Default for PolicyResponseModel
source§fn default() -> PolicyResponseModel
fn default() -> PolicyResponseModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PolicyResponseModel
impl<'de> Deserialize<'de> for PolicyResponseModel
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<PolicyResponseModel> for PolicyResponseModel
impl PartialEq<PolicyResponseModel> for PolicyResponseModel
source§fn eq(&self, other: &PolicyResponseModel) -> bool
fn eq(&self, other: &PolicyResponseModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.