pub struct Agreement<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT> { /* private fields */ }
Expand description
Any type of agreement among economic agents.
Implementations§
source§impl<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT> Agreement<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT>
impl<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT> Agreement<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT>
sourcepub fn bundled_in_mut(&mut self) -> &mut Option<AGREEMENTBUNDLE>
pub fn bundled_in_mut(&mut self) -> &mut Option<AGREEMENTBUNDLE>
This agreement is bundled with other agreements.
pub fn created_mut(&mut self) -> &mut Option<DateTime<Utc>>
sourcepub fn name_mut(&mut self) -> &mut Option<String>
pub fn name_mut(&mut self) -> &mut Option<String>
An informal or formal textual identifier for an object. Does not imply uniqueness.
pub fn note_mut(&mut self) -> &mut Option<String>
sourcepub fn realizes_mut(&mut self) -> &mut Option<ECONOMICEVENT>
pub fn realizes_mut(&mut self) -> &mut Option<ECONOMICEVENT>
All the non-reciprocal economic events (with or without commitments) that realize the agreement.
sourcepub fn realizes_reciprocal_mut(&mut self) -> &mut Option<ECONOMICEVENT>
pub fn realizes_reciprocal_mut(&mut self) -> &mut Option<ECONOMICEVENT>
All the reciprocal economic events (with or without commitments) that realize the agreement.
sourcepub fn stipulates_mut(&mut self) -> &mut Option<COMMITMENT>
pub fn stipulates_mut(&mut self) -> &mut Option<COMMITMENT>
All the primary commitments that constitute the agreement.
sourcepub fn stipulates_reciprocal_mut(&mut self) -> &mut Option<COMMITMENT>
pub fn stipulates_reciprocal_mut(&mut self) -> &mut Option<COMMITMENT>
All the reciprocal commitments that constitute the agreement.
source§impl<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT> Agreement<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT>
impl<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT> Agreement<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT>
sourcepub fn set_bundled_in(&mut self, val: Option<AGREEMENTBUNDLE>) -> &mut Self
pub fn set_bundled_in(&mut self, val: Option<AGREEMENTBUNDLE>) -> &mut Self
This agreement is bundled with other agreements.
pub fn set_created(&mut self, val: Option<DateTime<Utc>>) -> &mut Self
sourcepub fn set_name(&mut self, val: Option<String>) -> &mut Self
pub fn set_name(&mut self, val: Option<String>) -> &mut Self
An informal or formal textual identifier for an object. Does not imply uniqueness.
pub fn set_note(&mut self, val: Option<String>) -> &mut Self
sourcepub fn set_realizes(&mut self, val: Option<ECONOMICEVENT>) -> &mut Self
pub fn set_realizes(&mut self, val: Option<ECONOMICEVENT>) -> &mut Self
All the non-reciprocal economic events (with or without commitments) that realize the agreement.
sourcepub fn set_realizes_reciprocal(
&mut self,
val: Option<ECONOMICEVENT>
) -> &mut Self
pub fn set_realizes_reciprocal( &mut self, val: Option<ECONOMICEVENT> ) -> &mut Self
All the reciprocal economic events (with or without commitments) that realize the agreement.
sourcepub fn set_stipulates(&mut self, val: Option<COMMITMENT>) -> &mut Self
pub fn set_stipulates(&mut self, val: Option<COMMITMENT>) -> &mut Self
All the primary commitments that constitute the agreement.
sourcepub fn set_stipulates_reciprocal(
&mut self,
val: Option<COMMITMENT>
) -> &mut Self
pub fn set_stipulates_reciprocal( &mut self, val: Option<COMMITMENT> ) -> &mut Self
All the reciprocal commitments that constitute the agreement.
source§impl<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT> Agreement<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT>
impl<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT> Agreement<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT>
sourcepub fn bundled_in(&self) -> &Option<AGREEMENTBUNDLE>
pub fn bundled_in(&self) -> &Option<AGREEMENTBUNDLE>
This agreement is bundled with other agreements.
pub fn created(&self) -> &Option<DateTime<Utc>>
sourcepub fn name(&self) -> &Option<String>
pub fn name(&self) -> &Option<String>
An informal or formal textual identifier for an object. Does not imply uniqueness.
pub fn note(&self) -> &Option<String>
sourcepub fn realizes(&self) -> &Option<ECONOMICEVENT>
pub fn realizes(&self) -> &Option<ECONOMICEVENT>
All the non-reciprocal economic events (with or without commitments) that realize the agreement.
sourcepub fn realizes_reciprocal(&self) -> &Option<ECONOMICEVENT>
pub fn realizes_reciprocal(&self) -> &Option<ECONOMICEVENT>
All the reciprocal economic events (with or without commitments) that realize the agreement.
sourcepub fn stipulates(&self) -> &Option<COMMITMENT>
pub fn stipulates(&self) -> &Option<COMMITMENT>
All the primary commitments that constitute the agreement.
sourcepub fn stipulates_reciprocal(&self) -> &Option<COMMITMENT>
pub fn stipulates_reciprocal(&self) -> &Option<COMMITMENT>
All the reciprocal commitments that constitute the agreement.
source§impl<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT> Agreement<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT>
impl<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT> Agreement<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT>
sourcepub fn builder() -> AgreementBuilder<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT>
pub fn builder() -> AgreementBuilder<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT>
Create an empty builder object for Agreement
sourcepub fn into_builder(
self
) -> AgreementBuilder<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT>
pub fn into_builder( self ) -> AgreementBuilder<AGREEMENTBUNDLE, ECONOMICEVENT, COMMITMENT>
Turns Agreement into AgreementBuilder