Struct mwapi_responses::protection::ProtectionInfo [−][src]
pub struct ProtectionInfo {
pub type_: String,
pub level: String,
pub expiry: String,
pub cascade: bool,
pub source: Option<String>,
}
Fields
type_: String
level: String
expiry: String
cascade: bool
source: Option<String>
Source the cascade protection is coming from
Trait Implementations
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 RefUnwindSafe for ProtectionInfo
impl Send for ProtectionInfo
impl Sync for ProtectionInfo
impl Unpin for ProtectionInfo
impl UnwindSafe for ProtectionInfo
Blanket Implementations
Mutably borrows from an owned value. Read more