pub struct WikibaseClientEntityUsage<'input> {
pub row_id: u64,
pub entity_id: &'input str,
pub aspect: &'input str,
pub page_id: PageId,
}
Expand description
Represents a row in the wbc_entity_usage
table.
Fields
row_id: u64
entity_id: &'input str
aspect: &'input str
page_id: PageId
Trait Implementations
sourceimpl<'input> Clone for WikibaseClientEntityUsage<'input>
impl<'input> Clone for WikibaseClientEntityUsage<'input>
sourcefn clone(&self) -> WikibaseClientEntityUsage<'input>
fn clone(&self) -> WikibaseClientEntityUsage<'input>
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<'input> Debug for WikibaseClientEntityUsage<'input>
impl<'input> Debug for WikibaseClientEntityUsage<'input>
sourceimpl<'de: 'input, 'input> Deserialize<'de> for WikibaseClientEntityUsage<'input>
impl<'de: 'input, 'input> Deserialize<'de> for WikibaseClientEntityUsage<'input>
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 WikibaseClientEntityUsage<'input>
impl<'input> FromSqlTuple<'input> for WikibaseClientEntityUsage<'input>
fn from_sql_tuple(s: &'input [u8]) -> IResult<'input, Self>
sourceimpl<'input> Hash for WikibaseClientEntityUsage<'input>
impl<'input> Hash for WikibaseClientEntityUsage<'input>
sourceimpl<'input> Ord for WikibaseClientEntityUsage<'input>
impl<'input> Ord for WikibaseClientEntityUsage<'input>
sourcefn cmp(&self, other: &WikibaseClientEntityUsage<'input>) -> Ordering
fn cmp(&self, other: &WikibaseClientEntityUsage<'input>) -> 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<'input> PartialEq<WikibaseClientEntityUsage<'input>> for WikibaseClientEntityUsage<'input>
impl<'input> PartialEq<WikibaseClientEntityUsage<'input>> for WikibaseClientEntityUsage<'input>
sourcefn eq(&self, other: &WikibaseClientEntityUsage<'input>) -> bool
fn eq(&self, other: &WikibaseClientEntityUsage<'input>) -> bool
sourceimpl<'input> PartialOrd<WikibaseClientEntityUsage<'input>> for WikibaseClientEntityUsage<'input>
impl<'input> PartialOrd<WikibaseClientEntityUsage<'input>> for WikibaseClientEntityUsage<'input>
sourcefn partial_cmp(
&self,
other: &WikibaseClientEntityUsage<'input>
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &WikibaseClientEntityUsage<'input>
) -> 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<'input> Serialize for WikibaseClientEntityUsage<'input>
impl<'input> Serialize for WikibaseClientEntityUsage<'input>
impl<'input> Eq for WikibaseClientEntityUsage<'input>
impl<'input> StructuralEq for WikibaseClientEntityUsage<'input>
impl<'input> StructuralPartialEq for WikibaseClientEntityUsage<'input>
Auto Trait Implementations
impl<'input> RefUnwindSafe for WikibaseClientEntityUsage<'input>
impl<'input> Send for WikibaseClientEntityUsage<'input>
impl<'input> Sync for WikibaseClientEntityUsage<'input>
impl<'input> Unpin for WikibaseClientEntityUsage<'input>
impl<'input> UnwindSafe for WikibaseClientEntityUsage<'input>
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