pub struct KeyspacesStateView {
pub keyspaces: HashMap<String, KeyspaceView>,
pub tables: HashMap<String, TableView>,
pub types: HashMap<String, UserDefinedTypeView>,
}Expand description
Serializable view of the entire Keyspaces state for one account/region.
Fields§
§keyspaces: HashMap<String, KeyspaceView>§tables: HashMap<String, TableView>Key: “keyspace_name/table_name”
types: HashMap<String, UserDefinedTypeView>Key: “keyspace_name/type_name”
Trait Implementations§
Source§impl Clone for KeyspacesStateView
impl Clone for KeyspacesStateView
Source§fn clone(&self) -> KeyspacesStateView
fn clone(&self) -> KeyspacesStateView
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 KeyspacesStateView
impl Debug for KeyspacesStateView
Source§impl Default for KeyspacesStateView
impl Default for KeyspacesStateView
Source§fn default() -> KeyspacesStateView
fn default() -> KeyspacesStateView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KeyspacesStateView
impl<'de> Deserialize<'de> for KeyspacesStateView
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 From<&KeyspacesState> for KeyspacesStateView
impl From<&KeyspacesState> for KeyspacesStateView
Source§fn from(state: &KeyspacesState) -> Self
fn from(state: &KeyspacesState) -> Self
Converts to this type from the input type.
Source§impl From<KeyspacesStateView> for KeyspacesState
impl From<KeyspacesStateView> for KeyspacesState
Source§fn from(view: KeyspacesStateView) -> Self
fn from(view: KeyspacesStateView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyspacesStateView
impl RefUnwindSafe for KeyspacesStateView
impl Send for KeyspacesStateView
impl Sync for KeyspacesStateView
impl Unpin for KeyspacesStateView
impl UnsafeUnpin for KeyspacesStateView
impl UnwindSafe for KeyspacesStateView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.