pub struct Redirect<'input> {
    pub from: PageId,
    pub namespace: PageNamespace,
    pub title: PageTitle,
    pub interwiki: Option<&'input str>,
    pub fragment: Option<String>,
}Expand description
Represents a row in the redirect table.
Fields§
§from: PageId§namespace: PageNamespace§title: PageTitle§interwiki: Option<&'input str>§fragment: Option<String>Trait Implementations§
Source§impl<'de: 'input, 'input> Deserialize<'de> for Redirect<'input>
 
impl<'de: 'input, 'input> Deserialize<'de> for Redirect<'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 Redirect<'input>
 
impl<'input> FromSqlTuple<'input> for Redirect<'input>
fn from_sql_tuple(s: &'input [u8]) -> IResult<'input, Self>
Source§impl<'input> Ord for Redirect<'input>
 
impl<'input> Ord for Redirect<'input>
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> PartialOrd for Redirect<'input>
 
impl<'input> PartialOrd for Redirect<'input>
impl<'input> Eq for Redirect<'input>
impl<'input> StructuralPartialEq for Redirect<'input>
Auto Trait Implementations§
impl<'input> Freeze for Redirect<'input>
impl<'input> RefUnwindSafe for Redirect<'input>
impl<'input> Send for Redirect<'input>
impl<'input> Sync for Redirect<'input>
impl<'input> Unpin for Redirect<'input>
impl<'input> UnwindSafe for Redirect<'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