[−][src]Struct vf_rs::vf::Settlement
Represents many-to-many relationships between claim and economic events that fully or partially settle one or more claims.
ID: https://w3id.org/valueflows#Settlement
Implementations
impl<ECONOMICEVENT, CLAIM> Settlement<ECONOMICEVENT, CLAIM>
[src]
pub fn effort_quantity(&self) -> &Option<Measure>
[src]
The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness.
pub fn note(&self) -> &Option<String>
[src]
pub fn resource_quantity(&self) -> &Option<Measure>
[src]
The amount and unit of the economic resource counted or inventoried.
pub fn settled_by(&self) -> &ECONOMICEVENT
[src]
References an economic event that fully or partially settles the claim.
pub fn settles(&self) -> &CLAIM
[src]
References a claim that is fully or partially settled by the economic event.
impl<ECONOMICEVENT, CLAIM> Settlement<ECONOMICEVENT, CLAIM>
[src]
pub fn set_effort_quantity(&mut self, val: Option<Measure>) -> &mut Self
[src]
The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness.
pub fn set_note(&mut self, val: Option<String>) -> &mut Self
[src]
pub fn set_resource_quantity(&mut self, val: Option<Measure>) -> &mut Self
[src]
The amount and unit of the economic resource counted or inventoried.
pub fn set_settled_by(&mut self, val: ECONOMICEVENT) -> &mut Self
[src]
References an economic event that fully or partially settles the claim.
pub fn set_settles(&mut self, val: CLAIM) -> &mut Self
[src]
References a claim that is fully or partially settled by the economic event.
impl<ECONOMICEVENT, CLAIM> Settlement<ECONOMICEVENT, CLAIM>
[src]
pub fn effort_quantity_mut(&mut self) -> &mut Option<Measure>
[src]
The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness.
pub fn note_mut(&mut self) -> &mut Option<String>
[src]
pub fn resource_quantity_mut(&mut self) -> &mut Option<Measure>
[src]
The amount and unit of the economic resource counted or inventoried.
pub fn settled_by_mut(&mut self) -> &mut ECONOMICEVENT
[src]
References an economic event that fully or partially settles the claim.
pub fn settles_mut(&mut self) -> &mut CLAIM
[src]
References a claim that is fully or partially settled by the economic event.
impl<ECONOMICEVENT, CLAIM> Settlement<ECONOMICEVENT, CLAIM>
[src]
pub fn builder() -> SettlementBuilder<ECONOMICEVENT, CLAIM>
[src]
Create an empty builder object for Settlement
pub fn into_builder(self) -> SettlementBuilder<ECONOMICEVENT, CLAIM>
[src]
Turns Settlement into SettlementBuilder
Trait Implementations
impl<ECONOMICEVENT: Clone, CLAIM: Clone> Clone for Settlement<ECONOMICEVENT, CLAIM>
[src]
fn clone(&self) -> Settlement<ECONOMICEVENT, CLAIM>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<ECONOMICEVENT: Debug, CLAIM: Debug> Debug for Settlement<ECONOMICEVENT, CLAIM>
[src]
impl<'de, ECONOMICEVENT, CLAIM> Deserialize<'de> for Settlement<ECONOMICEVENT, CLAIM> where
ECONOMICEVENT: Deserialize<'de>,
CLAIM: Deserialize<'de>,
[src]
ECONOMICEVENT: Deserialize<'de>,
CLAIM: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<ECONOMICEVENT: PartialEq, CLAIM: PartialEq> PartialEq<Settlement<ECONOMICEVENT, CLAIM>> for Settlement<ECONOMICEVENT, CLAIM>
[src]
fn eq(&self, other: &Settlement<ECONOMICEVENT, CLAIM>) -> bool
[src]
fn ne(&self, other: &Settlement<ECONOMICEVENT, CLAIM>) -> bool
[src]
impl<ECONOMICEVENT, CLAIM> Serialize for Settlement<ECONOMICEVENT, CLAIM> where
ECONOMICEVENT: Serialize,
CLAIM: Serialize,
[src]
ECONOMICEVENT: Serialize,
CLAIM: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<ECONOMICEVENT, CLAIM> StructuralPartialEq for Settlement<ECONOMICEVENT, CLAIM>
[src]
Auto Trait Implementations
impl<ECONOMICEVENT, CLAIM> RefUnwindSafe for Settlement<ECONOMICEVENT, CLAIM> where
CLAIM: RefUnwindSafe,
ECONOMICEVENT: RefUnwindSafe,
CLAIM: RefUnwindSafe,
ECONOMICEVENT: RefUnwindSafe,
impl<ECONOMICEVENT, CLAIM> Send for Settlement<ECONOMICEVENT, CLAIM> where
CLAIM: Send,
ECONOMICEVENT: Send,
CLAIM: Send,
ECONOMICEVENT: Send,
impl<ECONOMICEVENT, CLAIM> Sync for Settlement<ECONOMICEVENT, CLAIM> where
CLAIM: Sync,
ECONOMICEVENT: Sync,
CLAIM: Sync,
ECONOMICEVENT: Sync,
impl<ECONOMICEVENT, CLAIM> Unpin for Settlement<ECONOMICEVENT, CLAIM> where
CLAIM: Unpin,
ECONOMICEVENT: Unpin,
CLAIM: Unpin,
ECONOMICEVENT: Unpin,
impl<ECONOMICEVENT, CLAIM> UnwindSafe for Settlement<ECONOMICEVENT, CLAIM> where
CLAIM: UnwindSafe,
ECONOMICEVENT: UnwindSafe,
CLAIM: UnwindSafe,
ECONOMICEVENT: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,