[−][src]Enum cloud_storage::bucket_access_control::Entity
An entity is used to represent a user or group of users that often have some kind of permission.
Variants
UserId(String)A single user, identified by its id.
UserEmail(String)A single user, identified by its email address.
GroupId(String)A group of users, identified by its id.
GroupEmail(String)A group of users, identified by its email address.
Domain(String)All users identifed by an email that ends with the domain, for example mydomain.rs in
me@mydomain.rs.
Project(Team, String)All users within a project, identified by the team name and project id.
All users.
All users that are logged in.
Trait Implementations
impl Clone for Entity[src]
impl Debug for Entity[src]
impl<'de> Deserialize<'de> for Entity[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
impl Display for Entity[src]
impl PartialEq<Entity> for Entity[src]
impl Serialize for Entity[src]
impl StructuralPartialEq for Entity[src]
Auto Trait Implementations
impl RefUnwindSafe for Entity
impl Send for Entity
impl Sync for Entity
impl Unpin for Entity
impl UnwindSafe for Entity
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,