[][src]Struct vf_rs::vf::EconomicResource

pub struct EconomicResource<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> { /* fields omitted */ }

A resource which is useful to people or the ecosystem.

ID: https://w3id.org/valueflows#EconomicResource

Implementations

impl<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> EconomicResource<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION>[src]

pub fn accounting_quantity(&self) -> &Option<Measure>[src]

The current amount and unit of the economic resource for which the agent has primary rights and responsibilities, sometimes thought of as ownership. This can be either stored or derived from economic events affecting the resource.

pub fn classified_as(&self) -> &Vec<Url>[src]

References one or more concepts in a common taxonomy or other classification scheme for purposes of categorization or grouping.

pub fn conforms_to(&self) -> &RESOURCESPECIFICATION[src]

The primary resource knowledge specification or definition of an existing or potential resource.

pub fn contained_in(&self) -> &Option<ECONOMICRESOURCE>[src]

Used when a stock economic resource contains units also defined as economic resources.

pub fn current_location(&self) -> &Option<SpatialThing>[src]

The current place an economic resource is located. Could be at any level of granularity, from a town to an address to a warehouse location. Usually mappable.

pub fn image(&self) -> &Option<Url>[src]

The uri to an image relevant to the entity, such as a logo, avatar, photo, diagram, etc.

pub fn lot(&self) -> &Option<ProductBatch>[src]

Lot or batch of an economic resource, used to track forward or backwards to all occurrences of resources of that lot.

pub fn name(&self) -> &Option<String>[src]

An informal or formal textual identifier for an object. Does not imply uniqueness.

pub fn note(&self) -> &Option<String>[src]

pub fn onhand_quantity(&self) -> &Option<Measure>[src]

The current amount and unit of the economic resource which is under direct control of the agent. It may be more or less than the accounting quantity. This can be either stored or derived from economic events affecting the resource.

pub fn primary_accountable(&self) -> &Option<AGENT>[src]

The agent currently with primary rights and responsibilites for the economic resource. It is the agent that is associated with the accountingQuantity of the economic resource.

pub fn stage(&self) -> &Option<PROCESSSPECIFICATION>[src]

References the ProcessSpecification of the last process the economic resource went through. Stage is used when the last process is important for finding proper resources, such as where the publishing process wants only documents that have gone through the editing process.

pub fn state(&self) -> &Option<String>[src]

The state of the desired economic resource, after coming out of a test or review process.

pub fn tracking_identifier(&self) -> &Option<String>[src]

Sometimes called serial number, used when each item must have a trackable identifier (like a computer). Could also be used for other unique tracking identifiers needed for resources.

pub fn unit_of_effort(&self) -> &Option<Unit>[src]

The unit used for use or work or sometimes cite actions.

impl<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> EconomicResource<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION>[src]

pub fn set_accounting_quantity(&mut self, val: Option<Measure>) -> &mut Self[src]

The current amount and unit of the economic resource for which the agent has primary rights and responsibilities, sometimes thought of as ownership. This can be either stored or derived from economic events affecting the resource.

pub fn set_classified_as(&mut self, val: Vec<Url>) -> &mut Self[src]

References one or more concepts in a common taxonomy or other classification scheme for purposes of categorization or grouping.

pub fn set_conforms_to(&mut self, val: RESOURCESPECIFICATION) -> &mut Self[src]

The primary resource knowledge specification or definition of an existing or potential resource.

pub fn set_contained_in(&mut self, val: Option<ECONOMICRESOURCE>) -> &mut Self[src]

Used when a stock economic resource contains units also defined as economic resources.

pub fn set_current_location(&mut self, val: Option<SpatialThing>) -> &mut Self[src]

The current place an economic resource is located. Could be at any level of granularity, from a town to an address to a warehouse location. Usually mappable.

pub fn set_image(&mut self, val: Option<Url>) -> &mut Self[src]

The uri to an image relevant to the entity, such as a logo, avatar, photo, diagram, etc.

pub fn set_lot(&mut self, val: Option<ProductBatch>) -> &mut Self[src]

Lot or batch of an economic resource, used to track forward or backwards to all occurrences of resources of that lot.

pub fn set_name(&mut self, val: Option<String>) -> &mut Self[src]

An informal or formal textual identifier for an object. Does not imply uniqueness.

pub fn set_note(&mut self, val: Option<String>) -> &mut Self[src]

pub fn set_onhand_quantity(&mut self, val: Option<Measure>) -> &mut Self[src]

The current amount and unit of the economic resource which is under direct control of the agent. It may be more or less than the accounting quantity. This can be either stored or derived from economic events affecting the resource.

pub fn set_primary_accountable(&mut self, val: Option<AGENT>) -> &mut Self[src]

The agent currently with primary rights and responsibilites for the economic resource. It is the agent that is associated with the accountingQuantity of the economic resource.

pub fn set_stage(&mut self, val: Option<PROCESSSPECIFICATION>) -> &mut Self[src]

References the ProcessSpecification of the last process the economic resource went through. Stage is used when the last process is important for finding proper resources, such as where the publishing process wants only documents that have gone through the editing process.

pub fn set_state(&mut self, val: Option<String>) -> &mut Self[src]

The state of the desired economic resource, after coming out of a test or review process.

pub fn set_tracking_identifier(&mut self, val: Option<String>) -> &mut Self[src]

Sometimes called serial number, used when each item must have a trackable identifier (like a computer). Could also be used for other unique tracking identifiers needed for resources.

pub fn set_unit_of_effort(&mut self, val: Option<Unit>) -> &mut Self[src]

The unit used for use or work or sometimes cite actions.

impl<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> EconomicResource<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION>[src]

pub fn accounting_quantity_mut(&mut self) -> &mut Option<Measure>[src]

The current amount and unit of the economic resource for which the agent has primary rights and responsibilities, sometimes thought of as ownership. This can be either stored or derived from economic events affecting the resource.

pub fn classified_as_mut(&mut self) -> &mut Vec<Url>[src]

References one or more concepts in a common taxonomy or other classification scheme for purposes of categorization or grouping.

pub fn conforms_to_mut(&mut self) -> &mut RESOURCESPECIFICATION[src]

The primary resource knowledge specification or definition of an existing or potential resource.

pub fn contained_in_mut(&mut self) -> &mut Option<ECONOMICRESOURCE>[src]

Used when a stock economic resource contains units also defined as economic resources.

pub fn current_location_mut(&mut self) -> &mut Option<SpatialThing>[src]

The current place an economic resource is located. Could be at any level of granularity, from a town to an address to a warehouse location. Usually mappable.

pub fn image_mut(&mut self) -> &mut Option<Url>[src]

The uri to an image relevant to the entity, such as a logo, avatar, photo, diagram, etc.

pub fn lot_mut(&mut self) -> &mut Option<ProductBatch>[src]

Lot or batch of an economic resource, used to track forward or backwards to all occurrences of resources of that lot.

pub fn name_mut(&mut self) -> &mut Option<String>[src]

An informal or formal textual identifier for an object. Does not imply uniqueness.

pub fn note_mut(&mut self) -> &mut Option<String>[src]

pub fn onhand_quantity_mut(&mut self) -> &mut Option<Measure>[src]

The current amount and unit of the economic resource which is under direct control of the agent. It may be more or less than the accounting quantity. This can be either stored or derived from economic events affecting the resource.

pub fn primary_accountable_mut(&mut self) -> &mut Option<AGENT>[src]

The agent currently with primary rights and responsibilites for the economic resource. It is the agent that is associated with the accountingQuantity of the economic resource.

pub fn stage_mut(&mut self) -> &mut Option<PROCESSSPECIFICATION>[src]

References the ProcessSpecification of the last process the economic resource went through. Stage is used when the last process is important for finding proper resources, such as where the publishing process wants only documents that have gone through the editing process.

pub fn state_mut(&mut self) -> &mut Option<String>[src]

The state of the desired economic resource, after coming out of a test or review process.

pub fn tracking_identifier_mut(&mut self) -> &mut Option<String>[src]

Sometimes called serial number, used when each item must have a trackable identifier (like a computer). Could also be used for other unique tracking identifiers needed for resources.

pub fn unit_of_effort_mut(&mut self) -> &mut Option<Unit>[src]

The unit used for use or work or sometimes cite actions.

impl<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> EconomicResource<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION>[src]

pub fn builder(
) -> EconomicResourceBuilder<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION>
[src]

Create an empty builder object for EconomicResource

pub fn into_builder(
    self
) -> EconomicResourceBuilder<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION>
[src]

Turns EconomicResource into EconomicResourceBuilder

Trait Implementations

impl<RESOURCESPECIFICATION: Clone, ECONOMICRESOURCE: Clone, AGENT: Clone, PROCESSSPECIFICATION: Clone> Clone for EconomicResource<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION>[src]

impl<RESOURCESPECIFICATION: Debug, ECONOMICRESOURCE: Debug, AGENT: Debug, PROCESSSPECIFICATION: Debug> Debug for EconomicResource<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION>[src]

impl<'de, RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> Deserialize<'de> for EconomicResource<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> where
    RESOURCESPECIFICATION: Deserialize<'de>,
    ECONOMICRESOURCE: Deserialize<'de>,
    AGENT: Deserialize<'de>,
    PROCESSSPECIFICATION: Deserialize<'de>, 
[src]

impl<RESOURCESPECIFICATION: PartialEq, ECONOMICRESOURCE: PartialEq, AGENT: PartialEq, PROCESSSPECIFICATION: PartialEq> PartialEq<EconomicResource<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION>> for EconomicResource<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION>[src]

impl<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> Serialize for EconomicResource<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> where
    RESOURCESPECIFICATION: Serialize,
    ECONOMICRESOURCE: Serialize,
    AGENT: Serialize,
    PROCESSSPECIFICATION: Serialize
[src]

impl<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> StructuralPartialEq for EconomicResource<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION>[src]

Auto Trait Implementations

impl<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> RefUnwindSafe for EconomicResource<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> where
    AGENT: RefUnwindSafe,
    ECONOMICRESOURCE: RefUnwindSafe,
    PROCESSSPECIFICATION: RefUnwindSafe,
    RESOURCESPECIFICATION: RefUnwindSafe

impl<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> Send for EconomicResource<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> where
    AGENT: Send,
    ECONOMICRESOURCE: Send,
    PROCESSSPECIFICATION: Send,
    RESOURCESPECIFICATION: Send

impl<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> Sync for EconomicResource<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> where
    AGENT: Sync,
    ECONOMICRESOURCE: Sync,
    PROCESSSPECIFICATION: Sync,
    RESOURCESPECIFICATION: Sync

impl<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> Unpin for EconomicResource<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> where
    AGENT: Unpin,
    ECONOMICRESOURCE: Unpin,
    PROCESSSPECIFICATION: Unpin,
    RESOURCESPECIFICATION: Unpin

impl<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> UnwindSafe for EconomicResource<RESOURCESPECIFICATION, ECONOMICRESOURCE, AGENT, PROCESSSPECIFICATION> where
    AGENT: UnwindSafe,
    ECONOMICRESOURCE: UnwindSafe,
    PROCESSSPECIFICATION: UnwindSafe,
    RESOURCESPECIFICATION: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.