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