pub struct ShieldHint {
pub scope: String,
}Expand description
Shield hint for policy generation
Fields§
§scope: StringScope for the shield policy
Trait Implementations§
Source§impl Clone for ShieldHint
impl Clone for ShieldHint
Source§fn clone(&self) -> ShieldHint
fn clone(&self) -> ShieldHint
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 ShieldHint
impl Debug for ShieldHint
Source§impl<'de> Deserialize<'de> for ShieldHint
impl<'de> Deserialize<'de> for ShieldHint
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
Auto Trait Implementations§
impl Freeze for ShieldHint
impl RefUnwindSafe for ShieldHint
impl Send for ShieldHint
impl Sync for ShieldHint
impl Unpin for ShieldHint
impl UnsafeUnpin for ShieldHint
impl UnwindSafe for ShieldHint
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