pub struct RecordsGroupKey {
pub field: String,
pub bucket: Option<DateBucket>,
}Expand description
One group-by key: a field (author = the author, by name), or a date
field cut into buckets. The group’s column is named field.
Fields§
§field: String§bucket: Option<DateBucket>Trait Implementations§
Source§impl Clone for RecordsGroupKey
impl Clone for RecordsGroupKey
Source§impl Debug for RecordsGroupKey
impl Debug for RecordsGroupKey
Source§impl<'de> Deserialize<'de> for RecordsGroupKey
impl<'de> Deserialize<'de> for RecordsGroupKey
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
impl Eq for RecordsGroupKey
Source§impl Hash for RecordsGroupKey
impl Hash for RecordsGroupKey
Source§impl PartialEq for RecordsGroupKey
impl PartialEq for RecordsGroupKey
Source§impl Serialize for RecordsGroupKey
impl Serialize for RecordsGroupKey
impl StructuralPartialEq for RecordsGroupKey
Auto Trait Implementations§
impl Freeze for RecordsGroupKey
impl RefUnwindSafe for RecordsGroupKey
impl Send for RecordsGroupKey
impl Sync for RecordsGroupKey
impl Unpin for RecordsGroupKey
impl UnsafeUnpin for RecordsGroupKey
impl UnwindSafe for RecordsGroupKey
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>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.