Struct parse_mediawiki_sql::schemas::LinkTarget
source · [−]pub struct LinkTarget {
pub id: LinkTargetId,
pub namespace: PageNamespace,
pub title: PageTitle,
}
Expand description
Represents a row in the linktarget
table.
Fields
id: LinkTargetId
namespace: PageNamespace
title: PageTitle
Trait Implementations
sourceimpl Clone for LinkTarget
impl Clone for LinkTarget
sourcefn clone(&self) -> LinkTarget
fn clone(&self) -> LinkTarget
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 LinkTarget
impl Debug for LinkTarget
sourceimpl<'de> Deserialize<'de> for LinkTarget
impl<'de> Deserialize<'de> for LinkTarget
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 LinkTarget
impl<'input> FromSqlTuple<'input> for LinkTarget
fn from_sql_tuple(s: &'input [u8]) -> IResult<'input, Self>
sourceimpl Hash for LinkTarget
impl Hash for LinkTarget
sourceimpl Ord for LinkTarget
impl Ord for LinkTarget
sourcefn cmp(&self, other: &LinkTarget) -> Ordering
fn cmp(&self, other: &LinkTarget) -> 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<LinkTarget> for LinkTarget
impl PartialEq<LinkTarget> for LinkTarget
sourcefn eq(&self, other: &LinkTarget) -> bool
fn eq(&self, other: &LinkTarget) -> bool
sourceimpl PartialOrd<LinkTarget> for LinkTarget
impl PartialOrd<LinkTarget> for LinkTarget
sourcefn partial_cmp(&self, other: &LinkTarget) -> Option<Ordering>
fn partial_cmp(&self, other: &LinkTarget) -> 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 LinkTarget
impl Serialize for LinkTarget
impl Eq for LinkTarget
impl StructuralEq for LinkTarget
impl StructuralPartialEq for LinkTarget
Auto Trait Implementations
impl RefUnwindSafe for LinkTarget
impl Send for LinkTarget
impl Sync for LinkTarget
impl Unpin for LinkTarget
impl UnwindSafe for LinkTarget
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