pub struct WindowRelFunction {
pub function_reference: u32,
pub arguments: Vec<FunctionArgument>,
pub options: Vec<FunctionOption>,
pub output_type: Option<Type>,
pub phase: i32,
pub invocation: i32,
pub lower_bound: Option<Bound>,
pub upper_bound: Option<Bound>,
pub bounds_type: i32,
}
Expand description
This message mirrors the WindowFunction
message but removes the fields defining the partition,
sorts, and bounds, since those must be consistent across the various functions in this rel. Refer
to the WindowFunction
message for a description of these fields.
Fields§
§function_reference: u32
§arguments: Vec<FunctionArgument>
§options: Vec<FunctionOption>
§output_type: Option<Type>
§phase: i32
§invocation: i32
§lower_bound: Option<Bound>
§upper_bound: Option<Bound>
§bounds_type: i32
Implementations§
Source§impl WindowRelFunction
impl WindowRelFunction
Sourcepub fn phase(&self) -> AggregationPhase
pub fn phase(&self) -> AggregationPhase
Returns the enum value of phase
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_phase(&mut self, value: AggregationPhase)
pub fn set_phase(&mut self, value: AggregationPhase)
Sets phase
to the provided enum value.
Sourcepub fn invocation(&self) -> AggregationInvocation
pub fn invocation(&self) -> AggregationInvocation
Returns the enum value of invocation
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_invocation(&mut self, value: AggregationInvocation)
pub fn set_invocation(&mut self, value: AggregationInvocation)
Sets invocation
to the provided enum value.
Sourcepub fn bounds_type(&self) -> BoundsType
pub fn bounds_type(&self) -> BoundsType
Returns the enum value of bounds_type
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_bounds_type(&mut self, value: BoundsType)
pub fn set_bounds_type(&mut self, value: BoundsType)
Sets bounds_type
to the provided enum value.
Trait Implementations§
Source§impl Clone for WindowRelFunction
impl Clone for WindowRelFunction
Source§fn clone(&self) -> WindowRelFunction
fn clone(&self) -> WindowRelFunction
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 WindowRelFunction
impl Debug for WindowRelFunction
Source§impl Default for WindowRelFunction
impl Default for WindowRelFunction
§impl<'de> Deserialize<'de> for WindowRelFunction
impl<'de> Deserialize<'de> for WindowRelFunction
§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
Source§impl Message for WindowRelFunction
impl Message for WindowRelFunction
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Source§impl PartialEq for WindowRelFunction
impl PartialEq for WindowRelFunction
§impl Serialize for WindowRelFunction
impl Serialize for WindowRelFunction
impl StructuralPartialEq for WindowRelFunction
Auto Trait Implementations§
impl Freeze for WindowRelFunction
impl RefUnwindSafe for WindowRelFunction
impl Send for WindowRelFunction
impl Sync for WindowRelFunction
impl Unpin for WindowRelFunction
impl UnwindSafe for WindowRelFunction
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