pub struct Commitment {Show 13 fields
pub id: CommitmentId,
pub promise: Promise,
pub made_to: Stakeholder,
pub made_at: Timestamp,
pub due: Option<Timestamp>,
pub status: CommitmentStatus,
pub weight: f64,
pub inertia: f64,
pub breaking_cost: BreakingCost,
pub goal: Option<GoalId>,
pub entanglements: Vec<CommitmentEntanglement>,
pub fulfillment: Option<CommitmentFulfillment>,
pub renegotiations: Vec<Renegotiation>,
}Fields§
§id: CommitmentId§promise: Promise§made_to: Stakeholder§made_at: Timestamp§due: Option<Timestamp>§status: CommitmentStatus§weight: f64§inertia: f64§breaking_cost: BreakingCost§goal: Option<GoalId>§entanglements: Vec<CommitmentEntanglement>§fulfillment: Option<CommitmentFulfillment>§renegotiations: Vec<Renegotiation>Trait Implementations§
Source§impl Clone for Commitment
impl Clone for Commitment
Source§fn clone(&self) -> Commitment
fn clone(&self) -> Commitment
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 Commitment
impl Debug for Commitment
Source§impl<'de> Deserialize<'de> for Commitment
impl<'de> Deserialize<'de> for Commitment
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 Commitment
impl RefUnwindSafe for Commitment
impl Send for Commitment
impl Sync for Commitment
impl Unpin for Commitment
impl UnsafeUnpin for Commitment
impl UnwindSafe for Commitment
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