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