pub struct WindowDefinition<S = WindowSpec> {
pub name: Option<String>,
pub inherited: Option<usize>,
pub spec: S,
}Expand description
One query-local window definition. The specification owns only its written clauses; inheritance is resolved through an earlier named definition.
Fields§
§name: Option<String>§inherited: Option<usize>§spec: STrait Implementations§
Source§impl<S: Clone> Clone for WindowDefinition<S>
impl<S: Clone> Clone for WindowDefinition<S>
Source§impl<S: Debug> Debug for WindowDefinition<S>
impl<S: Debug> Debug for WindowDefinition<S>
Source§impl<'de, S> Deserialize<'de> for WindowDefinition<S>where
S: Deserialize<'de>,
impl<'de, S> Deserialize<'de> for WindowDefinition<S>where
S: Deserialize<'de>,
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<S: PartialEq> PartialEq for WindowDefinition<S>
impl<S: PartialEq> PartialEq for WindowDefinition<S>
Source§impl<S> Serialize for WindowDefinition<S>where
S: Serialize,
impl<S> Serialize for WindowDefinition<S>where
S: Serialize,
impl<S: PartialEq> StructuralPartialEq for WindowDefinition<S>
Auto Trait Implementations§
impl<S> Freeze for WindowDefinition<S>where
S: Freeze,
impl<S> RefUnwindSafe for WindowDefinition<S>where
S: RefUnwindSafe,
impl<S> Send for WindowDefinition<S>where
S: Send,
impl<S> Sync for WindowDefinition<S>where
S: Sync,
impl<S> Unpin for WindowDefinition<S>where
S: Unpin,
impl<S> UnsafeUnpin for WindowDefinition<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for WindowDefinition<S>where
S: UnwindSafe,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more