pub struct PageProperty<'input> {
pub page: PageId,
pub name: &'input str,
pub value: Vec<u8>,
pub sortkey: Option<NotNan<f64>>,
}
Expand description
Represents a row in the page_props
table.
Fields§
§page: PageId
§name: &'input str
§value: Vec<u8>
§sortkey: Option<NotNan<f64>>
Trait Implementations§
Source§impl<'input> Clone for PageProperty<'input>
impl<'input> Clone for PageProperty<'input>
Source§fn clone(&self) -> PageProperty<'input>
fn clone(&self) -> PageProperty<'input>
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<'input> Debug for PageProperty<'input>
impl<'input> Debug for PageProperty<'input>
Source§impl<'de: 'input, 'input> Deserialize<'de> for PageProperty<'input>
impl<'de: 'input, 'input> Deserialize<'de> for PageProperty<'input>
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<'input> FromSqlTuple<'input> for PageProperty<'input>
impl<'input> FromSqlTuple<'input> for PageProperty<'input>
fn from_sql_tuple(s: &'input [u8]) -> IResult<'input, Self>
Source§impl<'input> Hash for PageProperty<'input>
impl<'input> Hash for PageProperty<'input>
Source§impl<'input> Ord for PageProperty<'input>
impl<'input> Ord for PageProperty<'input>
Source§fn cmp(&self, other: &PageProperty<'input>) -> Ordering
fn cmp(&self, other: &PageProperty<'input>) -> 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<'input> PartialEq for PageProperty<'input>
impl<'input> PartialEq for PageProperty<'input>
Source§impl<'input> PartialOrd for PageProperty<'input>
impl<'input> PartialOrd for PageProperty<'input>
Source§impl<'input> Serialize for PageProperty<'input>
impl<'input> Serialize for PageProperty<'input>
impl<'input> Eq for PageProperty<'input>
impl<'input> StructuralPartialEq for PageProperty<'input>
Auto Trait Implementations§
impl<'input> Freeze for PageProperty<'input>
impl<'input> RefUnwindSafe for PageProperty<'input>
impl<'input> Send for PageProperty<'input>
impl<'input> Sync for PageProperty<'input>
impl<'input> Unpin for PageProperty<'input>
impl<'input> UnwindSafe for PageProperty<'input>
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