pub struct DirectNodeRelationType {
pub container: Option<TaggedContainerReference>,
}Expand description
Constraints for a property that is a reference to a node.
Fields§
§container: Option<TaggedContainerReference>Container the referenced node must be in.
Trait Implementations§
Source§impl Clone for DirectNodeRelationType
impl Clone for DirectNodeRelationType
Source§fn clone(&self) -> DirectNodeRelationType
fn clone(&self) -> DirectNodeRelationType
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 DirectNodeRelationType
impl Debug for DirectNodeRelationType
Source§impl Default for DirectNodeRelationType
impl Default for DirectNodeRelationType
Source§fn default() -> DirectNodeRelationType
fn default() -> DirectNodeRelationType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DirectNodeRelationType
impl<'de> Deserialize<'de> for DirectNodeRelationType
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
Auto Trait Implementations§
impl Freeze for DirectNodeRelationType
impl RefUnwindSafe for DirectNodeRelationType
impl Send for DirectNodeRelationType
impl Sync for DirectNodeRelationType
impl Unpin for DirectNodeRelationType
impl UnwindSafe for DirectNodeRelationType
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