pub struct QRCodeEntry {
pub qr_key: String,
pub qr_code: String,
pub qr_type: String,
pub target_id: String,
pub created_at: String,
pub expire_at: Option<String>,
pub used_count: u32,
pub max_usage: Option<u32>,
pub revoked: bool,
}Expand description
二维码条目
Fields§
§qr_key: String§qr_code: String§qr_type: String§target_id: String§created_at: String§expire_at: Option<String>§used_count: u32§max_usage: Option<u32>§revoked: boolTrait Implementations§
Source§impl Clone for QRCodeEntry
impl Clone for QRCodeEntry
Source§fn clone(&self) -> QRCodeEntry
fn clone(&self) -> QRCodeEntry
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 QRCodeEntry
impl Debug for QRCodeEntry
Source§impl<'de> Deserialize<'de> for QRCodeEntry
impl<'de> Deserialize<'de> for QRCodeEntry
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
Auto Trait Implementations§
impl Freeze for QRCodeEntry
impl RefUnwindSafe for QRCodeEntry
impl Send for QRCodeEntry
impl Sync for QRCodeEntry
impl Unpin for QRCodeEntry
impl UnsafeUnpin for QRCodeEntry
impl UnwindSafe for QRCodeEntry
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