Struct puffer::db::RoleLevelLog
pub struct RoleLevelLog {
pub id: String,
pub level: RoleLevel,
}
Fields§
§id: String
§level: RoleLevel
Trait Implementations§
§impl Clone for RoleLevelLog
impl Clone for RoleLevelLog
§fn clone(&self) -> RoleLevelLog
fn clone(&self) -> RoleLevelLog
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 more§impl Default for RoleLevelLog
impl Default for RoleLevelLog
§fn default() -> RoleLevelLog
fn default() -> RoleLevelLog
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for RoleLevelLog
impl<'de> Deserialize<'de> for RoleLevelLog
§fn deserialize<__D>(
__deserializer: __D
) -> Result<RoleLevelLog, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<RoleLevelLog, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for RoleLevelLog
impl PartialEq for RoleLevelLog
§fn eq(&self, other: &RoleLevelLog) -> bool
fn eq(&self, other: &RoleLevelLog) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for RoleLevelLog
impl Serialize for RoleLevelLog
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RoleLevelLog
Auto Trait Implementations§
impl RefUnwindSafe for RoleLevelLog
impl Send for RoleLevelLog
impl Sync for RoleLevelLog
impl Unpin for RoleLevelLog
impl UnwindSafe for RoleLevelLog
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