pub enum AccessOperation {
Read,
Create,
Update,
Delete,
}Expand description
High-level data operation governed by access policy.
Variants§
Read
Read rows or vector points.
Create
Create rows or vector points.
Update
Update existing rows or vector points.
Delete
Delete rows or vector points.
Implementations§
Source§impl AccessOperation
impl AccessOperation
Sourcepub fn required_for_action(action: Action) -> Option<&'static [Self]>
pub fn required_for_action(action: Action) -> Option<&'static [Self]>
Conservative operation mapping for non-MERGE commands.
Trait Implementations§
Source§impl Clone for AccessOperation
impl Clone for AccessOperation
Source§fn clone(&self) -> AccessOperation
fn clone(&self) -> AccessOperation
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 moreimpl Copy for AccessOperation
Source§impl Debug for AccessOperation
impl Debug for AccessOperation
Source§impl<'de> Deserialize<'de> for AccessOperation
impl<'de> Deserialize<'de> for AccessOperation
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
impl Eq for AccessOperation
Source§impl Hash for AccessOperation
impl Hash for AccessOperation
Source§impl Ord for AccessOperation
impl Ord for AccessOperation
Source§fn cmp(&self, other: &AccessOperation) -> Ordering
fn cmp(&self, other: &AccessOperation) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AccessOperation
impl PartialEq for AccessOperation
Source§fn eq(&self, other: &AccessOperation) -> bool
fn eq(&self, other: &AccessOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AccessOperation
impl PartialOrd for AccessOperation
Source§impl Serialize for AccessOperation
impl Serialize for AccessOperation
impl StructuralPartialEq for AccessOperation
Auto Trait Implementations§
impl Freeze for AccessOperation
impl RefUnwindSafe for AccessOperation
impl Send for AccessOperation
impl Sync for AccessOperation
impl Unpin for AccessOperation
impl UnsafeUnpin for AccessOperation
impl UnwindSafe for AccessOperation
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