pub struct Owner(pub PartyRef);Available on crate feature
server only.Expand description
The {country_code}/{party_id} pair of a client-owned-object URL.
Extract this together with Auth and call
AuthenticatedPeer::check_ownership: a
platform may only write under its own party.
Tuple Fields§
§0: PartyRefImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Owner
impl RefUnwindSafe for Owner
impl Send for Owner
impl Sync for Owner
impl Unpin for Owner
impl UnsafeUnpin 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