Struct mwbot::SaveOptions
source · pub struct SaveOptions { /* private fields */ }
Expand description
Extra options for saving pages
Implementations§
source§impl 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