pub struct WriteSpec {
pub device: u32,
pub object: ObjectIdentifier,
pub property: PropertyIdentifier,
pub index: Option<u32>,
pub value: Option<String>,
pub priority: Option<u8>,
}Expand description
One write the user asked for, before anything is read.
Fields§
§device: u32Device instance, from the discovery table.
object: ObjectIdentifierThe object.
property: PropertyIdentifierThe property.
index: Option<u32>Array index, if any.
value: Option<String>The value as typed, for parse::parse_value_for; None relinquishes.
priority: Option<u8>The priority asked for.
Trait Implementations§
impl Eq for WriteSpec
impl StructuralPartialEq for WriteSpec
Auto Trait Implementations§
impl Freeze for WriteSpec
impl RefUnwindSafe for WriteSpec
impl Send for WriteSpec
impl Sync for WriteSpec
impl Unpin for WriteSpec
impl UnsafeUnpin for WriteSpec
impl UnwindSafe for WriteSpec
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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