pub struct ServiceAllowParams {
pub service: String,
pub principal: String,
}Expand description
Params of Request::ServiceAllowGrant / Request::ServiceAllowRevoke (#44): toggle a
single stable principal (b64u:/eid:) on a single service’s allow list, WITHOUT
unpairing. The per-peer “sharing” switch primitive the embedder drives.
Fields§
§service: String§principal: StringTrait Implementations§
Source§impl Clone for ServiceAllowParams
impl Clone for ServiceAllowParams
Source§fn clone(&self) -> ServiceAllowParams
fn clone(&self) -> ServiceAllowParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServiceAllowParams
impl Debug for ServiceAllowParams
Source§impl<'de> Deserialize<'de> for ServiceAllowParams
impl<'de> Deserialize<'de> for ServiceAllowParams
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
impl Eq for ServiceAllowParams
Source§impl PartialEq for ServiceAllowParams
impl PartialEq for ServiceAllowParams
Source§impl Serialize for ServiceAllowParams
impl Serialize for ServiceAllowParams
impl StructuralPartialEq for ServiceAllowParams
Auto Trait Implementations§
impl Freeze for ServiceAllowParams
impl RefUnwindSafe for ServiceAllowParams
impl Send for ServiceAllowParams
impl Sync for ServiceAllowParams
impl Unpin for ServiceAllowParams
impl UnsafeUnpin for ServiceAllowParams
impl UnwindSafe for ServiceAllowParams
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