pub struct WindowFunction {
pub description: Option<String>,
pub impls: Vec<WindowFunctionImplsItem>,
pub name: String,
}
Expand description
WindowFunction
JSON schema
{
"type": "object",
"required": [
"impls",
"name"
],
"properties": {
"description": {
"type": "string"
},
"impls": {
"type": "array",
"items": {
"type": "object",
"required": [
"return"
],
"properties": {
"args": {
"$ref": "#/$defs/arguments"
},
"decomposable": {
"$ref": "#/$defs/decomposable"
},
"deterministic": {
"$ref": "#/$defs/deterministic"
},
"implementation": {
"$ref": "#/$defs/implementation"
},
"intermediate": {
"$ref": "#/$defs/intermediate"
},
"maxset": {
"$ref": "#/$defs/maxset"
},
"nullability": {
"$ref": "#/$defs/nullabilityHandling"
},
"options": {
"$ref": "#/$defs/options"
},
"ordered": {
"$ref": "#/$defs/ordered"
},
"return": {
"$ref": "#/$defs/returnValue"
},
"sessionDependent": {
"$ref": "#/$defs/sessionDependent"
},
"variadic": {
"$ref": "#/$defs/variadicBehavior"
},
"window_type": {
"type": "string",
"enum": [
"STREAMING",
"PARTITION"
]
}
},
"additionalProperties": false
},
"minItems": 1
},
"name": {
"type": "string"
}
},
"additionalProperties": false
}
Fields§
§description: Option<String>
§impls: Vec<WindowFunctionImplsItem>
§name: String
Implementations§
Source§impl WindowFunction
impl WindowFunction
pub fn builder() -> WindowFunction
Trait Implementations§
Source§impl Clone for WindowFunction
impl Clone for WindowFunction
Source§fn clone(&self) -> WindowFunction
fn clone(&self) -> WindowFunction
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 WindowFunction
impl Debug for WindowFunction
Source§impl<'de> Deserialize<'de> for WindowFunction
impl<'de> Deserialize<'de> for WindowFunction
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
Source§impl From<&WindowFunction> for WindowFunction
impl From<&WindowFunction> for WindowFunction
Source§fn from(value: &WindowFunction) -> Self
fn from(value: &WindowFunction) -> Self
Converts to this type from the input type.
Source§impl From<WindowFunction> for WindowFunction
impl From<WindowFunction> for WindowFunction
Source§fn from(value: WindowFunction) -> Self
fn from(value: WindowFunction) -> Self
Converts to this type from the input type.
Source§impl Serialize for WindowFunction
impl Serialize for WindowFunction
Source§impl TryFrom<WindowFunction> for WindowFunction
impl TryFrom<WindowFunction> for WindowFunction
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: WindowFunction) -> Result<Self, ConversionError>
fn try_from(value: WindowFunction) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for WindowFunction
impl RefUnwindSafe for WindowFunction
impl Send for WindowFunction
impl Sync for WindowFunction
impl Unpin for WindowFunction
impl UnwindSafe for WindowFunction
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