Enum apollo_encoder::StringValue [−][src]
pub enum StringValue {
Top {
source: Option<String>,
},
Field {
source: Option<String>,
},
Input {
source: Option<String>,
},
Reason {
source: Option<String>,
},
}Expand description
Convenience enum to create a Description. Can be a Top level, a Field
level or an Input level. The variants are distinguished by the way they
get displayed, e.g. number of leading spaces.
Variants
Top
Top-level description.
Field
Field-level description. This description gets additional leading spaces.
Input
Input-level description. This description get an additional space at the end.
Reason
Reason-level description.
Like Input variant, but without the space.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for StringValue
impl Send for StringValue
impl Sync for StringValue
impl Unpin for StringValue
impl UnwindSafe for StringValue
Blanket Implementations
Mutably borrows from an owned value. Read more