pub struct CategoryLink {
pub from: PageId,
pub to: PageTitle,
pub sortkey: Vec<u8>,
pub timestamp: Timestamp,
pub sortkey_prefix: Vec<u8>,
pub collation: String,
pub type: PageType,
}
Expand description
Represents a row in the categorylinks
table.
Fields§
§from: PageId
§to: PageTitle
§sortkey: Vec<u8>
Can be truncated in the middle of a UTF-8 sequence,
so cannot be represented as a String
.
timestamp: Timestamp
§sortkey_prefix: Vec<u8>
Values added after this change, should be valid UTF-8, but older values may be invalid if they have been truncated in the middle of a multi-byte sequence.
collation: String
§type: PageType
Trait Implementations§
Source§impl Clone for CategoryLink
impl Clone for CategoryLink
Source§fn clone(&self) -> CategoryLink
fn clone(&self) -> CategoryLink
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 CategoryLink
impl Debug for CategoryLink
Source§impl<'de> Deserialize<'de> for CategoryLink
impl<'de> Deserialize<'de> for CategoryLink
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 CategoryLink
impl<'input> FromSqlTuple<'input> for CategoryLink
fn from_sql_tuple(s: &'input [u8]) -> IResult<'input, Self>
Source§impl Hash for CategoryLink
impl Hash for CategoryLink
Source§impl Ord for CategoryLink
impl Ord for CategoryLink
Source§fn cmp(&self, other: &CategoryLink) -> Ordering
fn cmp(&self, other: &CategoryLink) -> 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 CategoryLink
impl PartialEq for CategoryLink
Source§impl PartialOrd for CategoryLink
impl PartialOrd for CategoryLink
Source§impl Serialize for CategoryLink
impl Serialize for CategoryLink
impl Eq for CategoryLink
impl StructuralPartialEq for CategoryLink
Auto Trait Implementations§
impl Freeze for CategoryLink
impl RefUnwindSafe for CategoryLink
impl Send for CategoryLink
impl Sync for CategoryLink
impl Unpin for CategoryLink
impl UnwindSafe for CategoryLink
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