Struct edgedb_protocol::descriptors::ShapeElement
source · pub struct ShapeElement {
pub flag_implicit: bool,
pub flag_link_property: bool,
pub flag_link: bool,
pub cardinality: Option<Cardinality>,
pub name: String,
pub type_pos: TypePos,
}
Fields§
§flag_implicit: bool
§flag_link_property: bool
§flag_link: bool
§cardinality: Option<Cardinality>
§name: String
§type_pos: TypePos
Trait Implementations§
source§impl Clone for ShapeElement
impl Clone for ShapeElement
source§fn clone(&self) -> ShapeElement
fn clone(&self) -> ShapeElement
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 ShapeElement
impl Debug for ShapeElement
source§impl PartialEq<ShapeElement> for ShapeElement
impl PartialEq<ShapeElement> for ShapeElement
source§fn eq(&self, other: &ShapeElement) -> bool
fn eq(&self, other: &ShapeElement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ShapeElement
impl StructuralEq for ShapeElement
impl StructuralPartialEq for ShapeElement
Auto Trait Implementations§
impl RefUnwindSafe for ShapeElement
impl Send for ShapeElement
impl Sync for ShapeElement
impl Unpin for ShapeElement
impl UnwindSafe for ShapeElement
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