[−][src]Struct vf_rs::resource_specification::ResourceSpecification
Specification of a kind of resource. Could define a material item, service, digital item, currency account, etc. Used instead of a classification when more information is needed, particularly for recipes.
ID: https://raw.githubusercontent.com/valueflows/valueflows/master/json-schemas/ResourceSpecification.json
Fields
image: Option<Url>
The uri to an image relevant to the item, such as a photo, diagram, etc.
name: String
An informal or formal textual identifier for the item. Does not imply uniqueness.
note: Option<String>
A textual comment or description.
Methods
impl ResourceSpecification
[src]
pub fn into_builder(self) -> ResourceSpecificationBuilder
[src]
Turns ResourceSpecification into ResourceSpecificationBuilder
Trait Implementations
impl Clone for ResourceSpecification
[src]
fn clone(&self) -> ResourceSpecification
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ResourceSpecification
[src]
impl<'de> Deserialize<'de> for ResourceSpecification
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<ResourceSpecification> for ResourceSpecification
[src]
fn eq(&self, other: &ResourceSpecification) -> bool
[src]
fn ne(&self, other: &ResourceSpecification) -> bool
[src]
impl Serialize for ResourceSpecification
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for ResourceSpecification
[src]
Auto Trait Implementations
impl RefUnwindSafe for ResourceSpecification
impl Send for ResourceSpecification
impl Sync for ResourceSpecification
impl Unpin for ResourceSpecification
impl UnwindSafe for ResourceSpecification
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: Deserialize<'de>,
[src]
T: 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>,