pub struct NxmLink {
pub game: String,
pub mod_id: u32,
pub file_id: u32,
pub key: String,
pub expires: String,
pub user_id: Option<String>,
}Expand description
A parsed nxm:// link.
Fields§
§game: StringThe game’s domain (banished).
mod_id: u32The mod’s id on Nexus Mods.
file_id: u32The file’s id, as in the mod’s file list.
key: StringThe one-time key and its expiry time (Unix seconds), passed to the download link.
expires: StringWhen the key stops working, in Unix seconds.
user_id: Option<String>The account the link was made for, when the link says.
Implementations§
Trait Implementations§
impl Eq for NxmLink
impl StructuralPartialEq for NxmLink
Auto Trait Implementations§
impl Freeze for NxmLink
impl RefUnwindSafe for NxmLink
impl Send for NxmLink
impl Sync for NxmLink
impl Unpin for NxmLink
impl UnsafeUnpin for NxmLink
impl UnwindSafe for NxmLink
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.