Struct modio::mods::AddModOptions
source · pub struct AddModOptions { /* private fields */ }
Implementations§
source§impl AddModOptions
impl AddModOptions
pub fn new<T, P>(name: T, logo: P, summary: T) -> AddModOptions
pub fn visible(self, v: bool) -> Self
pub fn name_id<T: Into<String>>(self, value: T) -> Self
pub fn description<T: Into<String>>(self, value: T) -> Self
pub fn homepage_url(self, value: Url) -> Self
pub fn stock(self, value: u32) -> Self
pub fn maturity_option(self, value: MaturityOption) -> Self
pub fn metadata_blob<T: Into<String>>(self, value: T) -> Self
Auto Trait Implementations§
impl !Freeze for AddModOptions
impl !RefUnwindSafe for AddModOptions
impl Send for AddModOptions
impl Sync for AddModOptions
impl Unpin for AddModOptions
impl !UnwindSafe for AddModOptions
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