Enum substrait_validator::input::proto::substrait::function_signature::window::FinalVariableBehavior
source · [−]pub enum FinalVariableBehavior {
Variadic(FinalArgVariadic),
Normal(FinalArgNormal),
}Variants
Variadic(FinalArgVariadic)
Normal(FinalArgNormal)
Implementations
sourceimpl FinalVariableBehavior
impl FinalVariableBehavior
pub fn encode<B>(&self, buf: &mut B) where
B: BufMut,
pub fn merge<B>(
field: &mut Option<FinalVariableBehavior>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
pub fn encoded_len(&self) -> usize
Trait Implementations
sourceimpl Clone for FinalVariableBehavior
impl Clone for FinalVariableBehavior
sourcefn clone(&self) -> FinalVariableBehavior
fn clone(&self) -> FinalVariableBehavior
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 more
sourceimpl Debug for FinalVariableBehavior
impl Debug for FinalVariableBehavior
sourceimpl InputNode for FinalVariableBehavior
impl InputNode for FinalVariableBehavior
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 PartialEq<FinalVariableBehavior> for FinalVariableBehavior
impl PartialEq<FinalVariableBehavior> for FinalVariableBehavior
sourcefn eq(&self, other: &FinalVariableBehavior) -> bool
fn eq(&self, other: &FinalVariableBehavior) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &FinalVariableBehavior) -> bool
fn ne(&self, other: &FinalVariableBehavior) -> bool
This method tests for !=.
sourceimpl ProtoOneOf for FinalVariableBehavior
impl ProtoOneOf for FinalVariableBehavior
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 FinalVariableBehavior
Auto Trait Implementations
impl RefUnwindSafe for FinalVariableBehavior
impl Send for FinalVariableBehavior
impl Sync for FinalVariableBehavior
impl Unpin for FinalVariableBehavior
impl UnwindSafe for FinalVariableBehavior
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)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more