pub struct ModuleKey {
pub download_id: u32,
pub module_id: u16,
pub module_version: u8,
}Expand description
Identifies one module instance on the carousel.
Fields§
§download_id: u32downloadId from the DII / DDB headers.
module_id: u16moduleId from the DII module entry.
module_version: u8moduleVersion — a version bump restarts collection.
Trait Implementations§
impl Copy for ModuleKey
Source§impl<'de> Deserialize<'de> for ModuleKey
impl<'de> Deserialize<'de> for ModuleKey
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
impl Eq for ModuleKey
impl StructuralPartialEq for ModuleKey
Auto Trait Implementations§
impl Freeze for ModuleKey
impl RefUnwindSafe for ModuleKey
impl Send for ModuleKey
impl Sync for ModuleKey
impl Unpin for ModuleKey
impl UnsafeUnpin for ModuleKey
impl UnwindSafe for ModuleKey
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