pub struct PageUpdateOptions {
pub version_comment: Option<String>,
pub minor_edit: bool,
}
Expand description
Options for updating the page.
Fields§
§version_comment: Option<String>
§minor_edit: bool
Implementations§
Source§impl PageUpdateOptions
impl PageUpdateOptions
pub fn new_minor() -> PageUpdateOptions
pub fn new_minor_with_comment<S: Into<String>>(comment: S) -> PageUpdateOptions
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PageUpdateOptions
impl RefUnwindSafe for PageUpdateOptions
impl Send for PageUpdateOptions
impl Sync for PageUpdateOptions
impl Unpin for PageUpdateOptions
impl UnwindSafe for PageUpdateOptions
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more