pub struct TimestreamData {
pub account_id: String,
pub region: String,
pub databases: BTreeMap<String, Database>,
pub tables: BTreeMap<String, Table>,
pub records: BTreeMap<String, Vec<StoredRecord>>,
pub scheduled_queries: BTreeMap<String, ScheduledQuery>,
pub batch_load_tasks: BTreeMap<String, BatchLoadTask>,
pub active_queries: BTreeMap<String, f64>,
pub account_settings: AccountSettings,
pub tags: BTreeMap<String, BTreeMap<String, String>>,
}Expand description
Per-account Amazon Timestream state.
Fields§
§account_id: String§region: String§databases: BTreeMap<String, Database>Databases keyed by name.
tables: BTreeMap<String, Table>Tables keyed by "{database}\u{1}{table}".
records: BTreeMap<String, Vec<StoredRecord>>Ingested points keyed by "{database}\u{1}{table}".
scheduled_queries: BTreeMap<String, ScheduledQuery>Scheduled queries keyed by ARN.
batch_load_tasks: BTreeMap<String, BatchLoadTask>Batch-load tasks keyed by task id.
active_queries: BTreeMap<String, f64>In-flight query ids (set membership; CancelQuery removes).
account_settings: AccountSettingsPer-account query settings.
Resource tags keyed by ARN.
Trait Implementations§
Source§impl AccountState for TimestreamData
impl AccountState for TimestreamData
Source§fn new_for_account(account_id: &str, region: &str, _endpoint: &str) -> Self
fn new_for_account(account_id: &str, region: &str, _endpoint: &str) -> Self
Create a fresh, empty state for the given account.
Source§fn inherit_from(&mut self, _sibling: &Self)
fn inherit_from(&mut self, _sibling: &Self)
Called after a new account state is created via
MultiAccountState::get_or_create,
with a reference to an existing sibling state. Services can override
this to propagate shared resources (e.g. body caches) to the new state.Source§impl Clone for TimestreamData
impl Clone for TimestreamData
Source§fn clone(&self) -> TimestreamData
fn clone(&self) -> TimestreamData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TimestreamData
impl Debug for TimestreamData
Source§impl Default for TimestreamData
impl Default for TimestreamData
Source§fn default() -> TimestreamData
fn default() -> TimestreamData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimestreamData
impl<'de> Deserialize<'de> for TimestreamData
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
Auto Trait Implementations§
impl Freeze for TimestreamData
impl RefUnwindSafe for TimestreamData
impl Send for TimestreamData
impl Sync for TimestreamData
impl Unpin for TimestreamData
impl UnsafeUnpin for TimestreamData
impl UnwindSafe for TimestreamData
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