pub struct ForgeUpdates {
pub homepage: Option<String>,
pub promos: Option<ForgeUpdateCheckerPromos>,
}Expand description
ForgeUpdates : Mod version information that can be consumed by Forge’s update checker
Fields§
§homepage: Option<String>A link to the mod page
promos: Option<ForgeUpdateCheckerPromos>Implementations§
Source§impl ForgeUpdates
impl ForgeUpdates
Sourcepub fn new() -> ForgeUpdates
pub fn new() -> ForgeUpdates
Mod version information that can be consumed by Forge’s update checker
Trait Implementations§
Source§impl Clone for ForgeUpdates
impl Clone for ForgeUpdates
Source§fn clone(&self) -> ForgeUpdates
fn clone(&self) -> ForgeUpdates
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ForgeUpdates
impl Debug for ForgeUpdates
Source§impl Default for ForgeUpdates
impl Default for ForgeUpdates
Source§fn default() -> ForgeUpdates
fn default() -> ForgeUpdates
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ForgeUpdates
impl<'de> Deserialize<'de> for ForgeUpdates
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
Source§impl PartialEq for ForgeUpdates
impl PartialEq for ForgeUpdates
Source§impl Serialize for ForgeUpdates
impl Serialize for ForgeUpdates
impl StructuralPartialEq for ForgeUpdates
Auto Trait Implementations§
impl Freeze for ForgeUpdates
impl RefUnwindSafe for ForgeUpdates
impl Send for ForgeUpdates
impl Sync for ForgeUpdates
impl Unpin for ForgeUpdates
impl UnwindSafe for ForgeUpdates
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