pub struct PolicyAdjustment {
pub policy_id: ContractId,
pub adjustment: String,
pub reason: String,
}Expand description
A suggested policy adjustment.
Fields§
§policy_id: ContractIdPolicy to adjust.
adjustment: StringSuggested change.
reason: StringReason for the adjustment.
Trait Implementations§
Source§impl Clone for PolicyAdjustment
impl Clone for PolicyAdjustment
Source§fn clone(&self) -> PolicyAdjustment
fn clone(&self) -> PolicyAdjustment
Returns a duplicate 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 PolicyAdjustment
impl Debug for PolicyAdjustment
Source§impl<'de> Deserialize<'de> for PolicyAdjustment
impl<'de> Deserialize<'de> for PolicyAdjustment
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
Auto Trait Implementations§
impl Freeze for PolicyAdjustment
impl RefUnwindSafe for PolicyAdjustment
impl Send for PolicyAdjustment
impl Sync for PolicyAdjustment
impl Unpin for PolicyAdjustment
impl UnsafeUnpin for PolicyAdjustment
impl UnwindSafe for PolicyAdjustment
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