pub struct SqlCatalogFunction {
pub name: String,
pub kind: i32,
pub supports_over: bool,
pub min_args: i32,
pub max_args: Option<i32>,
pub argument_type_families: Vec<String>,
pub return_type_family: Option<String>,
}Fields§
§name: String§kind: i32§supports_over: bool§min_args: i32§max_args: Option<i32>§argument_type_families: Vec<String>§return_type_family: Option<String>Implementations§
Source§impl SqlCatalogFunction
impl SqlCatalogFunction
Sourcepub fn kind(&self) -> SqlCatalogFunctionKind
pub fn kind(&self) -> SqlCatalogFunctionKind
Returns the enum value of kind, or the default if the field is set to an invalid enum value.
Sourcepub fn set_kind(&mut self, value: SqlCatalogFunctionKind)
pub fn set_kind(&mut self, value: SqlCatalogFunctionKind)
Sets kind to the provided enum value.
Sourcepub fn max_args(&self) -> i32
pub fn max_args(&self) -> i32
Returns the value of max_args, or the default value if max_args is unset.
Sourcepub fn return_type_family(&self) -> &str
pub fn return_type_family(&self) -> &str
Returns the value of return_type_family, or the default value if return_type_family is unset.
Trait Implementations§
Source§impl Clone for SqlCatalogFunction
impl Clone for SqlCatalogFunction
Source§impl Debug for SqlCatalogFunction
impl Debug for SqlCatalogFunction
Source§impl Default for SqlCatalogFunction
impl Default for SqlCatalogFunction
Source§impl Message for SqlCatalogFunction
impl Message for SqlCatalogFunction
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 SqlCatalogFunction
impl PartialEq for SqlCatalogFunction
impl StructuralPartialEq for SqlCatalogFunction
Auto Trait Implementations§
impl Freeze for SqlCatalogFunction
impl RefUnwindSafe for SqlCatalogFunction
impl Send for SqlCatalogFunction
impl Sync for SqlCatalogFunction
impl Unpin for SqlCatalogFunction
impl UnsafeUnpin for SqlCatalogFunction
impl UnwindSafe for SqlCatalogFunction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request