pub struct PolicyUpdate {
pub name: Option<String>,
pub description: Option<String>,
pub mode: Option<Mode>,
pub directives: Option<Vec<Directive>>,
}Fields§
§name: Option<String>§description: Option<String>§mode: Option<Mode>§directives: Option<Vec<Directive>>Implementations§
Source§impl PolicyUpdate
impl PolicyUpdate
pub fn new() -> PolicyUpdate
Trait Implementations§
Source§impl Clone for PolicyUpdate
impl Clone for PolicyUpdate
Source§fn clone(&self) -> PolicyUpdate
fn clone(&self) -> PolicyUpdate
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 PolicyUpdate
impl Debug for PolicyUpdate
Source§impl Default for PolicyUpdate
impl Default for PolicyUpdate
Source§fn default() -> PolicyUpdate
fn default() -> PolicyUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyUpdate
impl<'de> Deserialize<'de> for PolicyUpdate
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 PolicyUpdate
impl PartialEq for PolicyUpdate
Source§impl Serialize for PolicyUpdate
impl Serialize for PolicyUpdate
impl StructuralPartialEq for PolicyUpdate
Auto Trait Implementations§
impl Freeze for PolicyUpdate
impl RefUnwindSafe for PolicyUpdate
impl Send for PolicyUpdate
impl Sync for PolicyUpdate
impl Unpin for PolicyUpdate
impl UnsafeUnpin for PolicyUpdate
impl UnwindSafe for PolicyUpdate
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