Struct google_datastore1_beta3::api::Count
source · pub struct Count {
pub up_to: Option<i64>,
}
Expand description
Count of entities that match the query. The COUNT(*)
aggregation function operates on the entire entity so it does not require a field reference.
This type is not used in any activity, and only used as part of another schema.
Fields§
§up_to: Option<i64>
Optional. Optional constraint on the maximum number of entities to count. This provides a way to set an upper bound on the number of entities to scan, limiting latency, and cost. Unspecified is interpreted as no bound. If a zero value is provided, a count result of zero should always be expected. High-Level Example: AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k );
Requires: * Must be non-negative when present.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Count
impl<'de> Deserialize<'de> for Count
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 Part for Count
Auto Trait Implementations§
impl RefUnwindSafe for Count
impl Send for Count
impl Sync for Count
impl Unpin for Count
impl UnwindSafe for Count
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