Struct google_datastore1_beta3::api::ReadOptions
source · pub struct ReadOptions {
pub read_consistency: Option<String>,
pub read_time: Option<DateTime<Utc>>,
pub transaction: Option<Vec<u8>>,
}
Expand description
The options shared by read requests.
This type is not used in any activity, and only used as part of another schema.
Fields§
§read_consistency: Option<String>
The non-transactional read consistency to use.
read_time: Option<DateTime<Utc>>
Reads entities as they were at the given time. This value is only supported for Cloud Firestore in Datastore mode. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.
transaction: Option<Vec<u8>>
The identifier of the transaction in which to read. A transaction identifier is returned by a call to Datastore.BeginTransaction.
Trait Implementations§
source§impl Clone for ReadOptions
impl Clone for ReadOptions
source§fn clone(&self) -> ReadOptions
fn clone(&self) -> ReadOptions
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 ReadOptions
impl Debug for ReadOptions
source§impl Default for ReadOptions
impl Default for ReadOptions
source§fn default() -> ReadOptions
fn default() -> ReadOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ReadOptions
impl<'de> Deserialize<'de> for ReadOptions
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 Serialize for ReadOptions
impl Serialize for ReadOptions
impl Part for ReadOptions
Auto Trait Implementations§
impl RefUnwindSafe for ReadOptions
impl Send for ReadOptions
impl Sync for ReadOptions
impl Unpin for ReadOptions
impl UnwindSafe for ReadOptions
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