pub struct ContributionPropertyDescription {
pub description: Option<String>,
pub name: Option<String>,
pub required: Option<bool>,
pub type_: Option<Type>,
}Expand description
Description about a property of a contribution type
Fields§
§description: Option<String>Description of the property
name: Option<String>Name of the property
required: Option<bool>True if this property is required
type_: Option<Type>The type of value used for this property
Implementations§
Trait Implementations§
source§impl Clone for ContributionPropertyDescription
impl Clone for ContributionPropertyDescription
source§fn clone(&self) -> ContributionPropertyDescription
fn clone(&self) -> ContributionPropertyDescription
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for ContributionPropertyDescription
impl Default for ContributionPropertyDescription
source§fn default() -> ContributionPropertyDescription
fn default() -> ContributionPropertyDescription
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ContributionPropertyDescription
impl<'de> Deserialize<'de> for ContributionPropertyDescription
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
source§impl PartialEq<ContributionPropertyDescription> for ContributionPropertyDescription
impl PartialEq<ContributionPropertyDescription> for ContributionPropertyDescription
source§fn eq(&self, other: &ContributionPropertyDescription) -> bool
fn eq(&self, other: &ContributionPropertyDescription) -> bool
This method tests for
self and other values to be equal, and is used
by ==.