pub struct SharingPolicyValueV2 {
pub value: bool,
pub level: PolicyLevel,
}Expand description
The policy part of a sharing state.
Fields§
§value: bool§level: PolicyLevelTrait Implementations§
Source§impl Clone for SharingPolicyValueV2
impl Clone for SharingPolicyValueV2
impl Copy for SharingPolicyValueV2
Source§impl Debug for SharingPolicyValueV2
impl Debug for SharingPolicyValueV2
Source§impl<'de> Deserialize<'de> for SharingPolicyValueV2
impl<'de> Deserialize<'de> for SharingPolicyValueV2
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 SharingPolicyValueV2
Source§impl PartialEq for SharingPolicyValueV2
impl PartialEq for SharingPolicyValueV2
Source§impl Serialize for SharingPolicyValueV2
impl Serialize for SharingPolicyValueV2
impl StructuralPartialEq for SharingPolicyValueV2
Auto Trait Implementations§
impl Forget for SharingPolicyValueV2
impl Freeze for SharingPolicyValueV2
impl Move for SharingPolicyValueV2
impl RefUnwindSafe for SharingPolicyValueV2
impl Send for SharingPolicyValueV2
impl Sync for SharingPolicyValueV2
impl Unpin for SharingPolicyValueV2
impl UnsafeUnpin for SharingPolicyValueV2
impl UnwindSafe for SharingPolicyValueV2
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