pub struct BusinessPolicy {
pub name: String,
pub description: String,
pub policy_type: String,
}Expand description
A business policy describing operational rules.
Fields§
§name: String§description: String§policy_type: StringTrait Implementations§
Source§impl Clone for BusinessPolicy
impl Clone for BusinessPolicy
Source§fn clone(&self) -> BusinessPolicy
fn clone(&self) -> BusinessPolicy
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 BusinessPolicy
impl Debug for BusinessPolicy
Source§impl<'de> Deserialize<'de> for BusinessPolicy
impl<'de> Deserialize<'de> for BusinessPolicy
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 BusinessPolicy
impl PartialEq for BusinessPolicy
Source§fn eq(&self, other: &BusinessPolicy) -> bool
fn eq(&self, other: &BusinessPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BusinessPolicy
impl Serialize for BusinessPolicy
impl StructuralPartialEq for BusinessPolicy
Auto Trait Implementations§
impl Freeze for BusinessPolicy
impl RefUnwindSafe for BusinessPolicy
impl Send for BusinessPolicy
impl Sync for BusinessPolicy
impl Unpin for BusinessPolicy
impl UnsafeUnpin for BusinessPolicy
impl UnwindSafe for BusinessPolicy
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