pub struct DataPolicyList {
pub policies: Vec<DataPolicy>,
}Expand description
DataPolicyList : A list of data policies
Fields§
§policies: Vec<DataPolicy>Implementations§
Source§impl DataPolicyList
impl DataPolicyList
Sourcepub fn new(policies: Vec<DataPolicy>) -> DataPolicyList
pub fn new(policies: Vec<DataPolicy>) -> DataPolicyList
A list of data policies
Trait Implementations§
Source§impl Clone for DataPolicyList
impl Clone for DataPolicyList
Source§fn clone(&self) -> DataPolicyList
fn clone(&self) -> DataPolicyList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DataPolicyList
impl Debug for DataPolicyList
Source§impl Default for DataPolicyList
impl Default for DataPolicyList
Source§fn default() -> DataPolicyList
fn default() -> DataPolicyList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DataPolicyList
impl<'de> Deserialize<'de> for DataPolicyList
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 DataPolicyList
impl PartialEq for DataPolicyList
Source§fn eq(&self, other: &DataPolicyList) -> bool
fn eq(&self, other: &DataPolicyList) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DataPolicyList
impl Serialize for DataPolicyList
impl StructuralPartialEq for DataPolicyList
Auto Trait Implementations§
impl Freeze for DataPolicyList
impl RefUnwindSafe for DataPolicyList
impl Send for DataPolicyList
impl Sync for DataPolicyList
impl Unpin for DataPolicyList
impl UnsafeUnpin for DataPolicyList
impl UnwindSafe for DataPolicyList
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