Struct cloud_storage::object::Owner
source · pub struct Owner {
pub entity: Entity,
pub entity_id: Option<String>,
}
Expand description
Contains information about an entity that is able to own a Bucket
.
Fields§
§entity: Entity
The entity, in the form project-owner-projectId.
entity_id: Option<String>
The ID for the entity.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Owner
impl<'de> Deserialize<'de> for Owner
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 for Owner
impl PartialEq for Owner
impl StructuralPartialEq for Owner
Auto Trait Implementations§
impl RefUnwindSafe for Owner
impl Send for Owner
impl Sync for Owner
impl Unpin for Owner
impl UnwindSafe for Owner
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