pub struct Babel<'input> {
pub user: UserId,
pub lang: &'input str,
pub level: &'input str,
}
Expand description
Represents a row in the babel
table.
Fields§
§user: UserId
§lang: &'input str
§level: &'input str
Trait Implementations§
Source§impl<'de: 'input, 'input> Deserialize<'de> for Babel<'input>
impl<'de: 'input, 'input> Deserialize<'de> for Babel<'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 Babel<'input>
impl<'input> FromSqlTuple<'input> for Babel<'input>
fn from_sql_tuple(s: &'input [u8]) -> IResult<'input, Self>
Source§impl<'input> Ord for Babel<'input>
impl<'input> Ord for Babel<'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 Babel<'input>
impl<'input> PartialOrd for Babel<'input>
impl<'input> Eq for Babel<'input>
impl<'input> StructuralPartialEq for Babel<'input>
Auto Trait Implementations§
impl<'input> Freeze for Babel<'input>
impl<'input> RefUnwindSafe for Babel<'input>
impl<'input> Send for Babel<'input>
impl<'input> Sync for Babel<'input>
impl<'input> Unpin for Babel<'input>
impl<'input> UnwindSafe for Babel<'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