pub enum OutputField {
Type(OutputType),
Spec(OutputFieldSpec),
}Expand description
A single output field declaration: either a bare type name or a typed spec.
Variants§
Type(OutputType)
Spec(OutputFieldSpec)
Trait Implementations§
Source§impl Clone for OutputField
impl Clone for OutputField
Source§fn clone(&self) -> OutputField
fn clone(&self) -> OutputField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OutputField
impl Debug for OutputField
Source§impl<'de> Deserialize<'de> for OutputField
impl<'de> Deserialize<'de> for OutputField
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OutputField
Source§impl PartialEq for OutputField
impl PartialEq for OutputField
Source§fn eq(&self, other: &OutputField) -> bool
fn eq(&self, other: &OutputField) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RunxSchema for OutputField
impl RunxSchema for OutputField
Source§fn json_schema() -> Value
fn json_schema() -> Value
The inlined JSON Schema for this type.
Source§impl Serialize for OutputField
impl Serialize for OutputField
impl StructuralPartialEq for OutputField
Auto Trait Implementations§
impl Freeze for OutputField
impl RefUnwindSafe for OutputField
impl Send for OutputField
impl Sync for OutputField
impl Unpin for OutputField
impl UnsafeUnpin for OutputField
impl UnwindSafe for OutputField
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more