Struct google_storage1::api::ObjectOwner
source · pub struct ObjectOwner {
pub entity: Option<String>,
pub entity_id: Option<String>,
}
Expand description
The owner of the object. This will always be the uploader of the object.
This type is not used in any activity, and only used as part of another schema.
Fields§
§entity: Option<String>
The entity, in the form user-userId.
entity_id: Option<String>
The ID for the entity.
Trait Implementations§
source§impl Clone for ObjectOwner
impl Clone for ObjectOwner
source§fn clone(&self) -> ObjectOwner
fn clone(&self) -> ObjectOwner
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ObjectOwner
impl Debug for ObjectOwner
source§impl Default for ObjectOwner
impl Default for ObjectOwner
source§fn default() -> ObjectOwner
fn default() -> ObjectOwner
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ObjectOwner
impl<'de> Deserialize<'de> for ObjectOwner
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 Serialize for ObjectOwner
impl Serialize for ObjectOwner
impl NestedType for ObjectOwner
impl Part for ObjectOwner
Auto Trait Implementations§
impl RefUnwindSafe for ObjectOwner
impl Send for ObjectOwner
impl Sync for ObjectOwner
impl Unpin for ObjectOwner
impl UnwindSafe for ObjectOwner
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