Enum substrait_validator::input::proto::substrait::function_argument::enum::EnumKind
source · [−]Variants
Specified(String)
Unspecified(())
Implementations
Trait Implementations
sourceimpl InputNode for EnumKind
impl InputNode for EnumKind
sourcefn type_to_node() -> Node
fn type_to_node() -> Node
Creates an empty output node for a protobuf datum of this type. Read more
sourcefn data_to_node(&self) -> Node
fn data_to_node(&self) -> Node
Creates an empty output node for a protobuf datum with this value.
sourcefn oneof_variant(&self) -> Option<&'static str>
fn oneof_variant(&self) -> Option<&'static str>
Returns the name of the selected variant of a oneof field, if this is a rust enum used to represent a oneof field. Read more
sourcefn parse_unknown(&self, y: &mut Context<'_>) -> bool
fn parse_unknown(&self, y: &mut Context<'_>) -> bool
Complete the subtrees of this datum in output that have not already been parsed using UnknownField nodes. Returns whether any such nodes were added. Read more
sourceimpl ProtoOneOf for EnumKind
impl ProtoOneOf for EnumKind
sourcefn proto_oneof_variant(&self) -> &'static str
fn proto_oneof_variant(&self) -> &'static str
Returns the name of the selected variant of a oneof field.
impl StructuralPartialEq for EnumKind
Auto Trait Implementations
impl RefUnwindSafe for EnumKind
impl Send for EnumKind
impl Sync for EnumKind
impl Unpin for EnumKind
impl UnwindSafe for EnumKind
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more