pub struct MemberCompositeKey {
pub server: String,
pub user: String,
}Expand description
Composite primary key consisting of server and user id
Fields§
§server: StringServer Id
user: StringUser Id
Trait Implementations§
Source§impl Clone for MemberCompositeKey
impl Clone for MemberCompositeKey
Source§fn clone(&self) -> MemberCompositeKey
fn clone(&self) -> MemberCompositeKey
Returns a duplicate 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 Debug for MemberCompositeKey
impl Debug for MemberCompositeKey
Source§impl<'de> Deserialize<'de> for MemberCompositeKey
impl<'de> Deserialize<'de> for MemberCompositeKey
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 Hash for MemberCompositeKey
impl Hash for MemberCompositeKey
Source§impl PartialEq for MemberCompositeKey
impl PartialEq for MemberCompositeKey
impl Eq for MemberCompositeKey
impl StructuralPartialEq for MemberCompositeKey
Auto Trait Implementations§
impl Freeze for MemberCompositeKey
impl RefUnwindSafe for MemberCompositeKey
impl Send for MemberCompositeKey
impl Sync for MemberCompositeKey
impl Unpin for MemberCompositeKey
impl UnwindSafe for MemberCompositeKey
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