Enum cql3_parser::common::Resource
source · [−]pub enum Resource {
AllFunctions(Option<String>),
AllKeyspaces,
AllRoles,
Function(FQName),
Keyspace(Identifier),
Role(String),
Table(FQName),
}Expand description
A list of resource types recognized by the system
Variants
AllFunctions(Option<String>)
all the functions optionally within a keyspace
AllKeyspaces
all the keyspaces
AllRoles
all the roles
Function(FQName)
the specific function.
Keyspace(Identifier)
the specific keyspace
Role(String)
the specified role.
Table(FQName)
the specified table.
Trait Implementations
impl StructuralPartialEq for Resource
Auto Trait Implementations
impl RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnwindSafe for Resource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more