pub struct LastDayFunc {
pub this: Expression,
pub unit: Option<DateTimeField>,
}Expand description
LAST_DAY function with optional date part (for BigQuery granularity like WEEK(SUNDAY))
Fields§
§this: Expression§unit: Option<DateTimeField>Optional date part for granularity (e.g., MONTH, YEAR, WEEK(SUNDAY))
Trait Implementations§
Source§impl Clone for LastDayFunc
impl Clone for LastDayFunc
Source§fn clone(&self) -> LastDayFunc
fn clone(&self) -> LastDayFunc
Returns a duplicate 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 LastDayFunc
impl Debug for LastDayFunc
Source§impl<'de> Deserialize<'de> for LastDayFunc
impl<'de> Deserialize<'de> for LastDayFunc
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 PartialEq for LastDayFunc
impl PartialEq for LastDayFunc
Source§impl Serialize for LastDayFunc
impl Serialize for LastDayFunc
impl StructuralPartialEq for LastDayFunc
Auto Trait Implementations§
impl Freeze for LastDayFunc
impl RefUnwindSafe for LastDayFunc
impl Send for LastDayFunc
impl Sync for LastDayFunc
impl Unpin for LastDayFunc
impl UnwindSafe for LastDayFunc
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