Struct mwapi_errors::BlockDetails
source · [−]pub struct BlockDetails {
pub blockid: u32,
pub blockedby: String,
pub blockedbyid: u32,
pub blockreason: String,
pub blockedtimestamp: String,
pub blockpartial: bool,
pub blocknocreate: bool,
pub blockanononly: bool,
pub systemblocktype: Option<String>,
}
Fields
blockid: u32
blockedby: String
blockedbyid: u32
blockreason: String
blockedtimestamp: String
blockpartial: bool
blocknocreate: bool
blockanononly: bool
systemblocktype: Option<String>
Trait Implementations
sourceimpl Clone for BlockDetails
impl Clone for BlockDetails
sourcefn clone(&self) -> BlockDetails
fn clone(&self) -> BlockDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BlockDetails
impl Debug for BlockDetails
sourceimpl<'de> Deserialize<'de> for BlockDetails
impl<'de> Deserialize<'de> for BlockDetails
sourcefn 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 RefUnwindSafe for BlockDetails
impl Send for BlockDetails
impl Sync for BlockDetails
impl Unpin for BlockDetails
impl UnwindSafe for BlockDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more