pub struct ProjectRelation {
pub relation: Value,
}
Expand description
ProjectRelation
JSON schema
{
"type": "object",
"required": [
"relation"
],
"properties": {
"relation": {
"const": "PROJECT"
}
},
"additionalProperties": false
}
Fields§
§relation: Value
Implementations§
Source§impl ProjectRelation
impl ProjectRelation
pub fn builder() -> ProjectRelation
Trait Implementations§
Source§impl Clone for ProjectRelation
impl Clone for ProjectRelation
Source§fn clone(&self) -> ProjectRelation
fn clone(&self) -> ProjectRelation
Returns a duplicate 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 ProjectRelation
impl Debug for ProjectRelation
Source§impl<'de> Deserialize<'de> for ProjectRelation
impl<'de> Deserialize<'de> for ProjectRelation
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 From<&ProjectRelation> for ProjectRelation
impl From<&ProjectRelation> for ProjectRelation
Source§fn from(value: &ProjectRelation) -> Self
fn from(value: &ProjectRelation) -> Self
Converts to this type from the input type.
Source§impl From<ProjectRelation> for DialectSupportedRelationsItem
impl From<ProjectRelation> for DialectSupportedRelationsItem
Source§fn from(value: ProjectRelation) -> Self
fn from(value: ProjectRelation) -> Self
Converts to this type from the input type.
Source§impl From<ProjectRelation> for ProjectRelation
impl From<ProjectRelation> for ProjectRelation
Source§fn from(value: ProjectRelation) -> Self
fn from(value: ProjectRelation) -> Self
Converts to this type from the input type.
Source§impl Serialize for ProjectRelation
impl Serialize for ProjectRelation
Source§impl TryFrom<ProjectRelation> for ProjectRelation
impl TryFrom<ProjectRelation> for ProjectRelation
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ProjectRelation) -> Result<Self, ConversionError>
fn try_from(value: ProjectRelation) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ProjectRelation
impl RefUnwindSafe for ProjectRelation
impl Send for ProjectRelation
impl Sync for ProjectRelation
impl Unpin for ProjectRelation
impl UnwindSafe for ProjectRelation
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