pub struct SharingDelete {
pub org_id: Option<Option<Uuid>>,
pub share_with_uuid: Uuid,
pub share_with_type: EntityType,
}Fields§
§org_id: Option<Option<Uuid>>The id of the entity (user, workspace or organization) to share with
Implementations§
Source§impl SharingDelete
impl SharingDelete
pub fn new(share_with_uuid: Uuid, share_with_type: EntityType) -> SharingDelete
Trait Implementations§
Source§impl Clone for SharingDelete
impl Clone for SharingDelete
Source§fn clone(&self) -> SharingDelete
fn clone(&self) -> SharingDelete
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§impl Debug for SharingDelete
impl Debug for SharingDelete
Source§impl Default for SharingDelete
impl Default for SharingDelete
Source§fn default() -> SharingDelete
fn default() -> SharingDelete
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SharingDelete
impl<'de> Deserialize<'de> for SharingDelete
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 SharingDelete
impl PartialEq for SharingDelete
Source§impl Serialize for SharingDelete
impl Serialize for SharingDelete
impl StructuralPartialEq for SharingDelete
Auto Trait Implementations§
impl Freeze for SharingDelete
impl RefUnwindSafe for SharingDelete
impl Send for SharingDelete
impl Sync for SharingDelete
impl Unpin for SharingDelete
impl UnsafeUnpin for SharingDelete
impl UnwindSafe for SharingDelete
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