pub struct State {
pub keys: TableState<Key>,
pub tab: Tab,
pub input_focus: InputFocus,
pub aws_visible_column_ids: Vec<ColumnId>,
pub customer_visible_column_ids: Vec<ColumnId>,
}Fields§
§keys: TableState<Key>§tab: Tab§input_focus: InputFocus§aws_visible_column_ids: Vec<ColumnId>Visible column IDs for the AWS managed keys tab
customer_visible_column_ids: Vec<ColumnId>Visible column IDs for the Customer managed keys tab
Implementations§
Source§impl State
impl State
pub fn new() -> Self
Sourcepub fn visible_column_ids(&self) -> &Vec<ColumnId> ⓘ
pub fn visible_column_ids(&self) -> &Vec<ColumnId> ⓘ
Returns the currently active visible column IDs based on the tab.
Sourcepub fn visible_column_ids_mut(&mut self) -> &mut Vec<ColumnId> ⓘ
pub fn visible_column_ids_mut(&mut self) -> &mut Vec<ColumnId> ⓘ
Returns the mutable currently active visible column IDs.
Sourcepub fn tab_column_ids(&self) -> Vec<ColumnId> ⓘ
pub fn tab_column_ids(&self) -> Vec<ColumnId> ⓘ
Returns the full column list for the current tab.
Trait Implementations§
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.