pub enum WhereAmI {
    Keyspace(String),
    Table(StringString),
}
Expand description

A convenient representation for the whereami action

Variants

Keyspace(String)

The ID of the keyspace

Table(StringString)

The ID of the keyspace (element 0) and the ID of the table (element 1)

Implementations

Returns an entity group formatted string for this instance. For example:

  • if your connection level entity is just a keyspace, say default, then you’ll get a string with “default”
  • Now, if you’re in a table, say table default in the default keyspace, then you’ll get a string with “default:default”

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.