pub struct State {Show 30 fields
pub tables: TableState<DdbTable>,
pub input_focus: InputFocus,
pub current_table: Option<String>,
pub detail_tab: DetailTab,
pub items: TableState<DdbItem>,
pub items_loading: bool,
pub items_cursor: Option<DdbItemCursor>,
pub items_context: Option<ItemRequestContext>,
pub items_append: bool,
pub items_failed: bool,
pub item_filter: String,
pub item_operation: ItemOperation,
pub item_index: usize,
pub item_projection: ItemProjection,
pub item_hidden_columns: Vec<String>,
pub executed_query: String,
pub indexes_table: TableState<DdbIndex>,
pub replicas_table: TableState<DdbReplica>,
pub backups: TableState<DdbBackup>,
pub backups_loading: bool,
pub settings: DdbTableSettings,
pub settings_loading: bool,
pub tags_table: TableState<(String, String)>,
pub tags_loading: bool,
pub table_policy: Option<String>,
pub stream_policy: Option<String>,
pub permissions_loading: bool,
pub metrics: DdbMonitoringData,
pub metrics_loading: bool,
pub monitoring_scroll: usize,
}Fields§
§tables: TableState<DdbTable>§input_focus: InputFocus§current_table: Option<String>§detail_tab: DetailTab§items: TableState<DdbItem>§items_loading: bool§items_cursor: Option<DdbItemCursor>§items_context: Option<ItemRequestContext>§items_append: boolWhether the scheduled/failed request continues the current result set.
items_failed: bool§item_filter: StringItems tab text input: a client-side filter for Scan, the partition-key value for Query. Kept apart from the table-list filter.
item_operation: ItemOperation§item_index: usize0 = the table itself, 1.. = secondary indexes in ribbon order.
item_projection: ItemProjectionAttribute columns hidden in Preferences. Item columns are discovered from the data, so they are tracked by name and default to all visible.
executed_query: StringPartition-key value the last Query ran with, so it only re-runs on change.
indexes_table: TableState<DdbIndex>§replicas_table: TableState<DdbReplica>§backups: TableState<DdbBackup>§backups_loading: bool§settings: DdbTableSettings§settings_loading: bool§table_policy: Option<String>Resource-based policy documents (Additional settings tab).
stream_policy: Option<String>§permissions_loading: bool§metrics: DdbMonitoringDataMonitor tab.
metrics_loading: bool§monitoring_scroll: usizeImplementations§
Source§impl State
impl State
pub fn clear_items_result(&mut self)
pub fn begin_items_request( &mut self, context: ItemRequestContext, ) -> Option<DdbItemCursor>
pub fn finish_items_request(&mut self, page: DdbItemsPage)
pub fn fail_items_request(&mut self)
Trait Implementations§
Source§impl MonitoringState for State
impl MonitoringState for State
fn is_metrics_loading(&self) -> bool
fn set_metrics_loading(&mut self, loading: bool)
fn monitoring_scroll(&self) -> usize
fn set_monitoring_scroll(&mut self, scroll: usize)
fn clear_metrics(&mut self)
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.