pub struct PolicyDetailResponseModel {
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>,
pub can_toggle_state: Option<bool>,
}
Fields§
§object: Option<String>
§id: Option<Uuid>
§organization_id: Option<Uuid>
§type: Option<PolicyType>
§data: Option<HashMap<String, Value>>
§enabled: Option<bool>
§can_toggle_state: Option<bool>
Indicates whether the Policy can be enabled/disabled
Implementations§
Source§impl PolicyDetailResponseModel
impl PolicyDetailResponseModel
pub fn new() -> PolicyDetailResponseModel
Trait Implementations§
Source§impl Clone for PolicyDetailResponseModel
impl Clone for PolicyDetailResponseModel
Source§fn clone(&self) -> PolicyDetailResponseModel
fn clone(&self) -> PolicyDetailResponseModel
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 PolicyDetailResponseModel
impl Debug for PolicyDetailResponseModel
Source§impl Default for PolicyDetailResponseModel
impl Default for PolicyDetailResponseModel
Source§fn default() -> PolicyDetailResponseModel
fn default() -> PolicyDetailResponseModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyDetailResponseModel
impl<'de> Deserialize<'de> for PolicyDetailResponseModel
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
impl StructuralPartialEq for PolicyDetailResponseModel
Auto Trait Implementations§
impl Freeze for PolicyDetailResponseModel
impl RefUnwindSafe for PolicyDetailResponseModel
impl Send for PolicyDetailResponseModel
impl Sync for PolicyDetailResponseModel
impl Unpin for PolicyDetailResponseModel
impl UnwindSafe for PolicyDetailResponseModel
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