pub struct SharedExtension {
pub accessors: Vec<SharingAccessor>,
}Expand description
Defines entity sharing between user accounts
Entities are shared by applying the SharedExtension extension to them.
This extensions MUST only be applied to Collection and Item.
Entities that are shared MUST only be included in the exports for accounts that are credential owners or admins of the entity.
Fields§
§accessors: Vec<SharingAccessor>A list of SharingAccessor objects that represents users or groups
and their permissions with respect to access on the entity to which the SharedExtension
is applied.
Trait Implementations§
Source§fn clone(&self) -> SharedExtension
fn clone(&self) -> SharedExtension
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 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
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