pub struct PageRestrictionId(pub u32);
Expand description
Represents
pr_id
,
the primary key of the page_restrictions
table.
Tuple Fields§
§0: u32
Implementations§
Source§impl PageRestrictionId
impl PageRestrictionId
pub fn into_inner(self) -> u32
Trait Implementations§
Source§impl Clone for PageRestrictionId
impl Clone for PageRestrictionId
Source§fn clone(&self) -> PageRestrictionId
fn clone(&self) -> PageRestrictionId
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 Debug for PageRestrictionId
impl Debug for PageRestrictionId
Source§impl<'de> Deserialize<'de> for PageRestrictionId
impl<'de> Deserialize<'de> for PageRestrictionId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> From<&'a PageRestrictionId> for &'a u32
impl<'a> From<&'a PageRestrictionId> for &'a u32
Source§fn from(val: &'a PageRestrictionId) -> Self
fn from(val: &'a PageRestrictionId) -> Self
Converts to this type from the input type.
Source§impl From<PageRestrictionId> for u32
impl From<PageRestrictionId> for u32
Source§fn from(val: PageRestrictionId) -> Self
fn from(val: PageRestrictionId) -> Self
Converts to this type from the input type.
Source§impl From<u32> for PageRestrictionId
impl From<u32> for PageRestrictionId
Source§impl<'input> FromSql<'input> for PageRestrictionId
impl<'input> FromSql<'input> for PageRestrictionId
Source§impl Hash for PageRestrictionId
impl Hash for PageRestrictionId
Source§impl Ord for PageRestrictionId
impl Ord for PageRestrictionId
Source§fn cmp(&self, other: &PageRestrictionId) -> Ordering
fn cmp(&self, other: &PageRestrictionId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PageRestrictionId
impl PartialEq for PageRestrictionId
Source§impl PartialOrd for PageRestrictionId
impl PartialOrd for PageRestrictionId
Source§impl Serialize for PageRestrictionId
impl Serialize for PageRestrictionId
impl Copy for PageRestrictionId
impl Eq for PageRestrictionId
impl StructuralPartialEq for PageRestrictionId
Auto Trait Implementations§
impl Freeze for PageRestrictionId
impl RefUnwindSafe for PageRestrictionId
impl Send for PageRestrictionId
impl Sync for PageRestrictionId
impl Unpin for PageRestrictionId
impl UnwindSafe for PageRestrictionId
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