pub struct BlobRevokeParams {
pub scope: String,
pub principals: Vec<String>,
}Expand description
Params of Request::BlobRevoke (#62): the scope and the principals to withdraw from it.
SCOPED, unlike unpair hygiene: only the named scope’s grants change. A principal that also holds grants on other scopes keeps them — withdrawing access to one thing must not silently withdraw access to everything else.
Fields§
§scope: String§principals: Vec<String>Trait Implementations§
Source§impl Clone for BlobRevokeParams
impl Clone for BlobRevokeParams
Source§fn clone(&self) -> BlobRevokeParams
fn clone(&self) -> BlobRevokeParams
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 BlobRevokeParams
impl Debug for BlobRevokeParams
Source§impl<'de> Deserialize<'de> for BlobRevokeParams
impl<'de> Deserialize<'de> for BlobRevokeParams
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 BlobRevokeParams
Source§impl PartialEq for BlobRevokeParams
impl PartialEq for BlobRevokeParams
Source§impl Serialize for BlobRevokeParams
impl Serialize for BlobRevokeParams
impl StructuralPartialEq for BlobRevokeParams
Auto Trait Implementations§
impl Freeze for BlobRevokeParams
impl RefUnwindSafe for BlobRevokeParams
impl Send for BlobRevokeParams
impl Sync for BlobRevokeParams
impl Unpin for BlobRevokeParams
impl UnsafeUnpin for BlobRevokeParams
impl UnwindSafe for BlobRevokeParams
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