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 for ContributionPropertyDescription
impl PartialEq for ContributionPropertyDescription
Source§fn eq(&self, other: &ContributionPropertyDescription) -> bool
fn eq(&self, other: &ContributionPropertyDescription) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContributionPropertyDescription
Auto Trait Implementations§
impl Freeze for ContributionPropertyDescription
impl RefUnwindSafe for ContributionPropertyDescription
impl Send for ContributionPropertyDescription
impl Sync for ContributionPropertyDescription
impl Unpin for ContributionPropertyDescription
impl UnwindSafe for ContributionPropertyDescription
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more