Enum blobd_token::AuthTokenAction
source · pub enum AuthTokenAction {
BatchCreateObjects {},
CommitObject {
object_id: u64,
},
CreateObject {
key: Vec<u8>,
size: u64,
},
DeleteObject {
key: Vec<u8>,
},
InspectObject {
key: Vec<u8>,
},
ReadObject {
key: Vec<u8>,
},
WriteObject {
object_id: u64,
offset: u64,
},
}
Variants§
BatchCreateObjects
Fields
CommitObject
CreateObject
DeleteObject
InspectObject
ReadObject
WriteObject
Trait Implementations§
source§impl<'de> Deserialize<'de> for AuthTokenAction
impl<'de> Deserialize<'de> for AuthTokenAction
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 PartialEq<AuthTokenAction> for AuthTokenAction
impl PartialEq<AuthTokenAction> for AuthTokenAction
source§fn eq(&self, other: &AuthTokenAction) -> bool
fn eq(&self, other: &AuthTokenAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.