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 moresourceimpl 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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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