#[non_exhaustive]pub enum PageRestrictions {
Table,
Cascade,
Expiry,
Id,
Level,
Page,
Type,
}Expand description
page_restrictions table
Documentation may be available on mediawiki.org.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Table
Cascade
pr_cascade column
Expiry
pr_expiry column
Id
pr_id column
Level
pr_level column
Page
pr_page column
Type
pr_type column
Trait Implementations§
Source§impl AsRef<str> for PageRestrictions
impl AsRef<str> for PageRestrictions
Source§impl Clone for PageRestrictions
impl Clone for PageRestrictions
Source§fn clone(&self) -> PageRestrictions
fn clone(&self) -> PageRestrictions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Iden for PageRestrictions
impl Iden for PageRestrictions
impl Copy for PageRestrictions
Auto Trait Implementations§
impl Freeze for PageRestrictions
impl RefUnwindSafe for PageRestrictions
impl Send for PageRestrictions
impl Sync for PageRestrictions
impl Unpin for PageRestrictions
impl UnsafeUnpin for PageRestrictions
impl UnwindSafe for PageRestrictions
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