pub struct ClientContribution {
pub description: Option<String>,
pub id: Option<String>,
pub includes: Vec<String>,
pub properties: Option<JObject>,
pub targets: Vec<String>,
pub type_: Option<String>,
}Expand description
Representation of a ContributionNode that can be used for serialized to clients.
Fields§
§description: Option<String>Description of the contribution/type
id: Option<String>Fully qualified identifier of the contribution/type
includes: Vec<String>Includes is a set of contributions that should have this contribution included in their targets list.
properties: Option<JObject>Represents a JSON object.
targets: Vec<String>The ids of the contribution(s) that this contribution targets. (parent contributions)
type_: Option<String>Id of the Contribution Type
Implementations§
Trait Implementations§
source§impl Clone for ClientContribution
impl Clone for ClientContribution
source§fn clone(&self) -> ClientContribution
fn clone(&self) -> ClientContribution
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 Debug for ClientContribution
impl Debug for ClientContribution
source§impl Default for ClientContribution
impl Default for ClientContribution
source§fn default() -> ClientContribution
fn default() -> ClientContribution
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClientContribution
impl<'de> Deserialize<'de> for ClientContribution
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<ClientContribution> for ClientContribution
impl PartialEq<ClientContribution> for ClientContribution
source§fn eq(&self, other: &ClientContribution) -> bool
fn eq(&self, other: &ClientContribution) -> bool
This method tests for
self and other values to be equal, and is used
by ==.