pub enum UpdateType {
All,
Software,
Unspecified(String),
}Variants§
All
Software
Unspecified(String)
Allows passing a value that was not known at the time that this crate was generated from the available device descriptions
Trait Implementations§
Source§impl Clone for UpdateType
impl Clone for UpdateType
Source§fn clone(&self) -> UpdateType
fn clone(&self) -> UpdateType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateType
impl Debug for UpdateType
Source§impl Default for UpdateType
impl Default for UpdateType
Source§fn default() -> UpdateType
fn default() -> UpdateType
Returns the “default value” for a type. Read more
Source§impl FromStr for UpdateType
impl FromStr for UpdateType
Source§impl<'xml> FromXml<'xml> for UpdateType
impl<'xml> FromXml<'xml> for UpdateType
const KIND: Kind = instant_xml::Kind::Scalar
type Accumulator = Option<UpdateType>
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn deserialize<'cx>( into: &mut Self::Accumulator, field: &'static str, deserializer: &mut Deserializer<'cx, 'xml>, ) -> Result<(), Error>
Source§impl PartialEq for UpdateType
impl PartialEq for UpdateType
Source§impl ToString for UpdateType
impl ToString for UpdateType
Source§impl ToXml for UpdateType
impl ToXml for UpdateType
impl Eq for UpdateType
impl StructuralPartialEq for UpdateType
Auto Trait Implementations§
impl Freeze for UpdateType
impl RefUnwindSafe for UpdateType
impl Send for UpdateType
impl Sync for UpdateType
impl Unpin for UpdateType
impl UnwindSafe for UpdateType
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