pub enum ObjectSetValue {
Reference(String),
Inline(InformationObjectFields),
}
Variants§
Reference(String)
Inline(InformationObjectFields)
Implementations§
source§impl ObjectSetValue
impl ObjectSetValue
pub fn link_object_set_reference( &mut self, tlds: &BTreeMap<String, ToplevelDefinition> ) -> bool
pub fn references_object_set_by_name(&self) -> bool
Trait Implementations§
source§impl Clone for ObjectSetValue
impl Clone for ObjectSetValue
source§fn clone(&self) -> ObjectSetValue
fn clone(&self) -> ObjectSetValue
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 ObjectSetValue
impl Debug for ObjectSetValue
source§impl From<&str> for ObjectSetValue
impl From<&str> for ObjectSetValue
source§impl From<InformationObjectFields> for ObjectSetValue
impl From<InformationObjectFields> for ObjectSetValue
source§fn from(value: InformationObjectFields) -> Self
fn from(value: InformationObjectFields) -> Self
Converts to this type from the input type.
source§impl PartialEq for ObjectSetValue
impl PartialEq for ObjectSetValue
source§fn eq(&self, other: &ObjectSetValue) -> bool
fn eq(&self, other: &ObjectSetValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ObjectSetValue
Auto Trait Implementations§
impl RefUnwindSafe for ObjectSetValue
impl Send for ObjectSetValue
impl Sync for ObjectSetValue
impl Unpin for ObjectSetValue
impl UnwindSafe for ObjectSetValue
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