Struct guppy::db::UserFollow
source · pub struct UserFollow {
pub user: String,
pub is_following: String,
}
Fields§
§user: String
§is_following: String
Trait Implementations§
source§impl Clone for UserFollow
impl Clone for UserFollow
source§fn clone(&self) -> UserFollow
fn clone(&self) -> UserFollow
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UserFollow
impl Default for UserFollow
source§fn default() -> UserFollow
fn default() -> UserFollow
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UserFollow
impl<'de> Deserialize<'de> for UserFollow
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 PartialEq for UserFollow
impl PartialEq for UserFollow
source§fn eq(&self, other: &UserFollow) -> bool
fn eq(&self, other: &UserFollow) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserFollow
impl Serialize for UserFollow
impl StructuralPartialEq for UserFollow
Auto Trait Implementations§
impl RefUnwindSafe for UserFollow
impl Send for UserFollow
impl Sync for UserFollow
impl Unpin for UserFollow
impl UnwindSafe for UserFollow
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