Enum entity_async_graphql::GqlEdgeDeletionPolicy [−][src]
pub enum GqlEdgeDeletionPolicy { Nothing, ShallowDelete, DeepDelete, }
Variants
When this ent instance is deleted, nothing else will be done
When this ent instance is deleted, delete the reverse edge connections of all ents connected by this edge
When this ent instance is deleted, fully delete all ents connected by this edge
Trait Implementations
impl Clone for GqlEdgeDeletionPolicy
[src]
fn clone(&self) -> GqlEdgeDeletionPolicy
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GqlEdgeDeletionPolicy
[src]
impl Debug for GqlEdgeDeletionPolicy
[src]
impl EnumType for GqlEdgeDeletionPolicy
[src]
impl Eq for GqlEdgeDeletionPolicy
[src]
impl From<EdgeDeletionPolicy> for GqlEdgeDeletionPolicy
[src]
fn from(value: EdgeDeletionPolicy) -> Self
[src]
impl Hash for GqlEdgeDeletionPolicy
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl InputType for GqlEdgeDeletionPolicy
[src]
impl OutputType for GqlEdgeDeletionPolicy
[src]
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
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
__arg1: &'life1 ContextSelectionSet<'life2>,
_field: &'life3 Positioned<Field>
) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
impl PartialEq<GqlEdgeDeletionPolicy> for GqlEdgeDeletionPolicy
[src]
fn eq(&self, other: &GqlEdgeDeletionPolicy) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolimpl StructuralEq for GqlEdgeDeletionPolicy
[src]
impl StructuralPartialEq for GqlEdgeDeletionPolicy
[src]
impl Type for GqlEdgeDeletionPolicy
[src]
fn type_name() -> Cow<'static, str>
[src]
fn create_type_info(registry: &mut Registry) -> String
[src]
pub fn qualified_type_name() -> String
[src]
pub fn introspection_type_name(&self) -> Cow<'static, str>
[src]
Auto Trait Implementations
impl RefUnwindSafe for GqlEdgeDeletionPolicy
impl Send for GqlEdgeDeletionPolicy
impl Sync for GqlEdgeDeletionPolicy
impl Unpin for GqlEdgeDeletionPolicy
impl UnwindSafe for GqlEdgeDeletionPolicy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: 'static,
[src]
T: 'static,
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,