pub struct SwidType {
pub tag_id: String,
pub name: String,
pub version: Option<String>,
pub tag_version: Option<i32>,
pub patch: Option<bool>,
pub text: Option<AttachedTextType>,
pub url: Option<String>,
}Fields§
§tag_id: String§name: String§version: Option<String>§tag_version: Option<i32>§patch: Option<bool>§text: Option<AttachedTextType>§url: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for SwidType
impl<'de> Deserialize<'de> for SwidType
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
Source§impl YaDeserialize for SwidType
impl YaDeserialize for SwidType
fn deserialize<R: Read>(reader: &mut Deserializer<R>) -> Result<Self, String>
Source§impl YaSerialize for SwidType
impl YaSerialize for SwidType
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace, ) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl StructuralPartialEq for SwidType
Auto Trait Implementations§
impl Freeze for SwidType
impl RefUnwindSafe for SwidType
impl Send for SwidType
impl Sync for SwidType
impl Unpin for SwidType
impl UnwindSafe for SwidType
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