pub struct LoaderRelease {
pub game_version: MinecraftVersionId,
pub loader_version: LoaderVersionId,
pub description: Option<String>,
pub stream: Option<String>,
pub published_at: Option<String>,
pub prerelease: Option<bool>,
}Fields§
§game_version: MinecraftVersionId§loader_version: LoaderVersionId§description: Option<String>§stream: Option<String>§published_at: Option<String>§prerelease: Option<bool>Implementations§
Source§impl LoaderRelease
impl LoaderRelease
pub fn new( game_version: MinecraftVersionId, loader_version: LoaderVersionId, ) -> Self
pub fn with_description(self, description: Option<String>) -> Self
pub fn with_stream(self, stream: Option<String>) -> Self
pub fn with_published_at(self, published_at: Option<String>) -> Self
pub fn with_prerelease(self, prerelease: Option<bool>) -> Self
Trait Implementations§
Source§impl Clone for LoaderRelease
impl Clone for LoaderRelease
Source§impl Debug for LoaderRelease
impl Debug for LoaderRelease
impl Eq for LoaderRelease
Source§impl Hash for LoaderRelease
impl Hash for LoaderRelease
Source§impl PartialEq for LoaderRelease
impl PartialEq for LoaderRelease
impl StructuralPartialEq for LoaderRelease
Auto Trait Implementations§
impl Forget for LoaderRelease
impl Freeze for LoaderRelease
impl Move for LoaderRelease
impl RefUnwindSafe for LoaderRelease
impl Send for LoaderRelease
impl Sync for LoaderRelease
impl Unpin for LoaderRelease
impl UnsafeUnpin for LoaderRelease
impl UnwindSafe for LoaderRelease
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.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
Compares
self with key and returns true if they are equal.