pub enum BlockReason {
Protection {
protection_type: String,
},
Cyber {
trusted_access: Option<bool>,
},
}Expand description
Why an answer is blocked.
Variants§
Trait Implementations§
Source§impl Clone for BlockReason
impl Clone for BlockReason
Source§impl Debug for BlockReason
impl Debug for BlockReason
Source§impl<'de> Deserialize<'de> for BlockReason
impl<'de> Deserialize<'de> for BlockReason
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 BlockReason
Source§impl PartialEq for BlockReason
impl PartialEq for BlockReason
Source§impl Serialize for BlockReason
impl Serialize for BlockReason
impl StructuralPartialEq for BlockReason
Auto Trait Implementations§
impl Forget for BlockReason
impl Freeze for BlockReason
impl Move for BlockReason
impl RefUnwindSafe for BlockReason
impl Send for BlockReason
impl Sync for BlockReason
impl Unpin for BlockReason
impl UnsafeUnpin for BlockReason
impl UnwindSafe for BlockReason
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