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 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 for PolicyResponseModel
impl PartialEq for PolicyResponseModel
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