pub struct BooleanDt {
pub id: Option<String>,
pub extension: Option<Vec<Extension>>,
pub value: Option<Boolean>,
}
Expand description
布尔类型
true | false
Fields§
§id: Option<String>
xml:id (or equivalent in JSON)
extension: Option<Vec<Extension>>
Additional content defined by implementations
value: Option<Boolean>
Primitive value for boolean
Trait Implementations§
source§impl<'de> Deserialize<'de> for BooleanDt
impl<'de> Deserialize<'de> for BooleanDt
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
source§impl Element for BooleanDt
impl Element for BooleanDt
fn has_id(&self) -> bool
fn id(&self) -> &Option<String>
fn set_id<T: Into<String>>(self, id: T) -> Self
fn has_extension(&self) -> bool
fn extension(&self) -> &Option<Vec<Extension>>
fn set_extension(self, ext: Vec<Extension>) -> Self
fn add_extension(self, ext: Extension) -> Self
Auto Trait Implementations§
impl RefUnwindSafe for BooleanDt
impl Send for BooleanDt
impl Sync for BooleanDt
impl Unpin for BooleanDt
impl UnwindSafe for BooleanDt
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