Struct mwbot::SaveOptions
source · [−]pub struct SaveOptions { /* private fields */ }
Expand description
Extra options for saving pages
Implementations
sourceimpl SaveOptions
impl SaveOptions
sourcepub fn set_summary(self, summary: &str) -> Self
pub fn set_summary(self, summary: &str) -> Self
Change the edit summary
sourcepub fn mark_as_bot(self, mark: bool) -> Self
pub fn mark_as_bot(self, mark: bool) -> Self
Overide the default mark_as_bot option with the given value
Auto Trait Implementations
impl RefUnwindSafe for SaveOptions
impl Send for SaveOptions
impl Sync for SaveOptions
impl Unpin for SaveOptions
impl UnwindSafe for SaveOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more