pub struct SharePrincipal {
pub id: String,
pub role: String,
pub type_: String,
}
Expand description
Describes the recipient type and ID, if available.
Fields§
§id: String
The ID of the recipient.
role: String
The role of the recipient.
type_: String
The type of the recipient.
Trait Implementations§
Source§fn clone(&self) -> SharePrincipal
fn clone(&self) -> SharePrincipal
Returns a duplicate 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§fn default() -> SharePrincipal
fn default() -> SharePrincipal
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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