pub struct Site<'input> {
pub id: u32,
pub global_key: &'input str,
pub type: &'input str,
pub group: &'input str,
pub source: &'input str,
pub language: &'input str,
pub protocol: &'input str,
pub domain: &'input [u8],
pub data: String,
pub forward: i8,
pub config: String,
}
Expand description
Represents a row in the sites
table.
Fields§
§id: u32
§global_key: &'input str
§type: &'input str
§group: &'input str
§source: &'input str
§language: &'input str
§protocol: &'input str
§domain: &'input [u8]
§data: String
§forward: i8
§config: String
Trait Implementations§
Source§impl<'de: 'input, 'input> Deserialize<'de> for Site<'input>
impl<'de: 'input, 'input> Deserialize<'de> for Site<'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 Site<'input>
impl<'input> FromSqlTuple<'input> for Site<'input>
fn from_sql_tuple(s: &'input [u8]) -> IResult<'input, Self>
Source§impl<'input> Ord for Site<'input>
impl<'input> Ord for Site<'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 Site<'input>
impl<'input> PartialOrd for Site<'input>
impl<'input> Eq for Site<'input>
impl<'input> StructuralPartialEq for Site<'input>
Auto Trait Implementations§
impl<'input> Freeze for Site<'input>
impl<'input> RefUnwindSafe for Site<'input>
impl<'input> Send for Site<'input>
impl<'input> Sync for Site<'input>
impl<'input> Unpin for Site<'input>
impl<'input> UnwindSafe for Site<'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