pub struct ListItem {
pub error_code: u8,
pub item_object_id: u16,
pub type_: u8,
}
Fields§
§error_code: u8
§item_object_id: u16
§type_: u8
Trait Implementations§
Source§impl FromByteSlice for ListItem
impl FromByteSlice for ListItem
Source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
Source§fn from_le_byte_slice(bytes: &[u8]) -> ListItem
fn from_le_byte_slice(bytes: &[u8]) -> ListItem
Deserialize the implementing type from a byte slice.
impl Copy for ListItem
impl Eq for ListItem
impl StructuralPartialEq for ListItem
Auto Trait Implementations§
impl Freeze for ListItem
impl RefUnwindSafe for ListItem
impl Send for ListItem
impl Sync for ListItem
impl Unpin for ListItem
impl UnwindSafe for ListItem
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