pub enum GqlEdgeDeletionPolicy {
Nothing,
ShallowDelete,
DeepDelete,
}
Variants§
Nothing
When this ent instance is deleted, nothing else will be done
ShallowDelete
When this ent instance is deleted, delete the reverse edge connections of all ents connected by this edge
DeepDelete
When this ent instance is deleted, fully delete all ents connected by this edge
Trait Implementations§
Source§impl Clone for GqlEdgeDeletionPolicy
impl Clone for GqlEdgeDeletionPolicy
Source§fn clone(&self) -> GqlEdgeDeletionPolicy
fn clone(&self) -> GqlEdgeDeletionPolicy
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 GqlEdgeDeletionPolicy
impl Debug for GqlEdgeDeletionPolicy
Source§impl EnumType for GqlEdgeDeletionPolicy
impl EnumType for GqlEdgeDeletionPolicy
Source§fn items() -> &'static [EnumItem<GqlEdgeDeletionPolicy>]
fn items() -> &'static [EnumItem<GqlEdgeDeletionPolicy>]
Get a list of possible variants of the enum and their values.
Source§impl From<EdgeDeletionPolicy> for GqlEdgeDeletionPolicy
impl From<EdgeDeletionPolicy> for GqlEdgeDeletionPolicy
Source§fn from(value: EdgeDeletionPolicy) -> Self
fn from(value: EdgeDeletionPolicy) -> Self
Converts to this type from the input type.
Source§impl From<GqlEdgeDeletionPolicy> for EdgeDeletionPolicy
impl From<GqlEdgeDeletionPolicy> for EdgeDeletionPolicy
Source§fn from(value: GqlEdgeDeletionPolicy) -> Self
fn from(value: GqlEdgeDeletionPolicy) -> Self
Converts to this type from the input type.
Source§impl Hash for GqlEdgeDeletionPolicy
impl Hash for GqlEdgeDeletionPolicy
Source§impl InputType for GqlEdgeDeletionPolicy
impl InputType for GqlEdgeDeletionPolicy
Source§impl OutputType for GqlEdgeDeletionPolicy
impl OutputType for GqlEdgeDeletionPolicy
Source§fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
__arg1: &'life1 ContextSelectionSet<'life2>,
_field: &'life3 Positioned<Field>,
) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
__arg1: &'life1 ContextSelectionSet<'life2>,
_field: &'life3 Positioned<Field>,
) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Resolve an output value to
async_graphql::Value
.Source§impl PartialEq for GqlEdgeDeletionPolicy
impl PartialEq for GqlEdgeDeletionPolicy
Source§impl Type for GqlEdgeDeletionPolicy
impl Type for GqlEdgeDeletionPolicy
Source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
Source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
impl Copy for GqlEdgeDeletionPolicy
impl Eq for GqlEdgeDeletionPolicy
impl StructuralPartialEq for GqlEdgeDeletionPolicy
Auto Trait Implementations§
impl Freeze for GqlEdgeDeletionPolicy
impl RefUnwindSafe for GqlEdgeDeletionPolicy
impl Send for GqlEdgeDeletionPolicy
impl Sync for GqlEdgeDeletionPolicy
impl Unpin for GqlEdgeDeletionPolicy
impl UnwindSafe for GqlEdgeDeletionPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.