pub struct ModProjectDistributor {
pub site_id: String,
pub site_name: String,
pub site_url: String,
pub mod_id: String,
}Expand description
The distributor site that hosts a mod, and the mod’s ID on that site.
The project spelling of ltk_modpkg’s DistributorInfo, with the same
snake case keys.
Fields§
§site_id: StringThe identifier of the distributor site.
Example: runeforge
site_name: StringThe display name of the distributor site.
Example: RuneForge
site_url: StringThe base URL of the distributor site.
Example: https://runeforge.dev
mod_id: StringThe ID of the mod on the distributor site.
Implementations§
Trait Implementations§
Source§impl Clone for ModProjectDistributor
impl Clone for ModProjectDistributor
Source§impl Debug for ModProjectDistributor
impl Debug for ModProjectDistributor
Source§impl<'de> Deserialize<'de> for ModProjectDistributor
impl<'de> Deserialize<'de> for ModProjectDistributor
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 ModProjectDistributor
Source§impl Hash for ModProjectDistributor
impl Hash for ModProjectDistributor
Source§impl PartialEq for ModProjectDistributor
impl PartialEq for ModProjectDistributor
Source§impl Serialize for ModProjectDistributor
impl Serialize for ModProjectDistributor
impl StructuralPartialEq for ModProjectDistributor
Auto Trait Implementations§
impl Freeze for ModProjectDistributor
impl RefUnwindSafe for ModProjectDistributor
impl Send for ModProjectDistributor
impl Sync for ModProjectDistributor
impl Unpin for ModProjectDistributor
impl UnsafeUnpin for ModProjectDistributor
impl UnwindSafe for ModProjectDistributor
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.