pub struct PolicyResponseModel {
pub object: Option<String>,
pub id: Option<Uuid>,
pub organization_id: Option<Uuid>,
pub type: Option<PolicyType>,
pub data: Option<HashMap<String, Value>>,
pub enabled: Option<bool>,
}
Fields§
§object: Option<String>
§id: Option<Uuid>
§organization_id: Option<Uuid>
§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<'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 for PolicyResponseModel
impl PartialEq 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 ==
.source§impl Serialize for PolicyResponseModel
impl Serialize for PolicyResponseModel
impl StructuralPartialEq for PolicyResponseModel
Auto Trait Implementations§
impl Freeze for PolicyResponseModel
impl RefUnwindSafe for PolicyResponseModel
impl Send for PolicyResponseModel
impl Sync for PolicyResponseModel
impl Unpin for PolicyResponseModel
impl UnwindSafe for PolicyResponseModel
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