pub enum ObjectFieldIdentifier {
SingleValue(String),
MultipleValue(String),
}
Variants§
Implementations§
source§impl ObjectFieldIdentifier
impl ObjectFieldIdentifier
pub fn identifier(&self) -> &String
Trait Implementations§
source§impl Clone for ObjectFieldIdentifier
impl Clone for ObjectFieldIdentifier
source§fn clone(&self) -> ObjectFieldIdentifier
fn clone(&self) -> ObjectFieldIdentifier
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 ObjectFieldIdentifier
impl Debug for ObjectFieldIdentifier
source§impl From<ObjectFieldIdentifier> for SyntaxToken
impl From<ObjectFieldIdentifier> for SyntaxToken
source§fn from(value: ObjectFieldIdentifier) -> Self
fn from(value: ObjectFieldIdentifier) -> Self
Converts to this type from the input type.
source§impl PartialEq for ObjectFieldIdentifier
impl PartialEq for ObjectFieldIdentifier
source§fn eq(&self, other: &ObjectFieldIdentifier) -> bool
fn eq(&self, other: &ObjectFieldIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ObjectFieldIdentifier
Auto Trait Implementations§
impl RefUnwindSafe for ObjectFieldIdentifier
impl Send for ObjectFieldIdentifier
impl Sync for ObjectFieldIdentifier
impl Unpin for ObjectFieldIdentifier
impl UnwindSafe for ObjectFieldIdentifier
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