Enum juniper::meta::DeprecationStatus
source · [−]Expand description
Whether an item is deprecated, with context.
Variants
Current
The field/variant is not deprecated.
Deprecated(Option<String>)
The field/variant is deprecated, with an optional reason
Implementations
Trait Implementations
sourceimpl Clone for DeprecationStatus
impl Clone for DeprecationStatus
sourcefn clone(&self) -> DeprecationStatus
fn clone(&self) -> DeprecationStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DeprecationStatus
impl Debug for DeprecationStatus
sourceimpl Hash for DeprecationStatus
impl Hash for DeprecationStatus
sourceimpl PartialEq<DeprecationStatus> for DeprecationStatus
impl PartialEq<DeprecationStatus> for DeprecationStatus
sourcefn eq(&self, other: &DeprecationStatus) -> bool
fn eq(&self, other: &DeprecationStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeprecationStatus) -> bool
fn ne(&self, other: &DeprecationStatus) -> bool
This method tests for !=
.
impl StructuralPartialEq for DeprecationStatus
Auto Trait Implementations
impl RefUnwindSafe for DeprecationStatus
impl Send for DeprecationStatus
impl Sync for DeprecationStatus
impl Unpin for DeprecationStatus
impl UnwindSafe for DeprecationStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more