pub struct GQLConnection {
pub node_type: String,
pub edge_fields: Vec<GQLField>,
pub connection_fields: Vec<GQLField>,
}Fields§
§node_type: String§edge_fields: Vec<GQLField>§connection_fields: Vec<GQLField>Implementations§
Source§impl GQLConnection
impl GQLConnection
pub fn new(node_type: impl Into<String>) -> Self
pub fn emit_edge_type(&self) -> String
pub fn emit_connection_type(&self) -> String
Trait Implementations§
Source§impl Clone for GQLConnection
impl Clone for GQLConnection
Source§fn clone(&self) -> GQLConnection
fn clone(&self) -> GQLConnection
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 moreAuto Trait Implementations§
impl Freeze for GQLConnection
impl RefUnwindSafe for GQLConnection
impl Send for GQLConnection
impl Sync for GQLConnection
impl Unpin for GQLConnection
impl UnsafeUnpin for GQLConnection
impl UnwindSafe for GQLConnection
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