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