Struct parse_mediawiki_sql::schemas::ExternalLink
source · [−]pub struct ExternalLink {
pub id: ExternalLinkId,
pub from: PageId,
pub to: String,
pub index: Vec<u8>,
pub index_60: Vec<u8>,
}
Expand description
Represents a row in the externallinks
table.
Fields
id: ExternalLinkId
from: PageId
to: String
index: Vec<u8>
index_60: Vec<u8>
Trait Implementations
sourceimpl Clone for ExternalLink
impl Clone for ExternalLink
sourcefn clone(&self) -> ExternalLink
fn clone(&self) -> ExternalLink
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ExternalLink
impl Debug for ExternalLink
sourceimpl<'de> Deserialize<'de> for ExternalLink
impl<'de> Deserialize<'de> for ExternalLink
sourcefn 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
sourceimpl<'input> FromSqlTuple<'input> for ExternalLink
impl<'input> FromSqlTuple<'input> for ExternalLink
fn from_sql_tuple(s: &'input [u8]) -> IResult<'input, Self>
sourceimpl Hash for ExternalLink
impl Hash for ExternalLink
sourceimpl Ord for ExternalLink
impl Ord for ExternalLink
sourcefn cmp(&self, other: &ExternalLink) -> Ordering
fn cmp(&self, other: &ExternalLink) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ExternalLink> for ExternalLink
impl PartialEq<ExternalLink> for ExternalLink
sourcefn eq(&self, other: &ExternalLink) -> bool
fn eq(&self, other: &ExternalLink) -> bool
sourceimpl PartialOrd<ExternalLink> for ExternalLink
impl PartialOrd<ExternalLink> for ExternalLink
sourcefn partial_cmp(&self, other: &ExternalLink) -> Option<Ordering>
fn partial_cmp(&self, other: &ExternalLink) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl Serialize for ExternalLink
impl Serialize for ExternalLink
impl Eq for ExternalLink
impl StructuralEq for ExternalLink
impl StructuralPartialEq for ExternalLink
Auto Trait Implementations
impl RefUnwindSafe for ExternalLink
impl Send for ExternalLink
impl Sync for ExternalLink
impl Unpin for ExternalLink
impl UnwindSafe for ExternalLink
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more