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§
source§impl Clone for DeprecationStatus
impl Clone for DeprecationStatus
source§fn clone(&self) -> DeprecationStatus
fn clone(&self) -> DeprecationStatus
Returns a copy 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 DeprecationStatus
impl Debug for DeprecationStatus
source§impl Hash for DeprecationStatus
impl Hash for DeprecationStatus
source§impl PartialEq<DeprecationStatus> for DeprecationStatus
impl PartialEq<DeprecationStatus> for DeprecationStatus
source§fn 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 ==
.