pub struct LoginPoint {
pub location: Option<String>,
pub coords: Option<(f64, f64)>,
pub at: u64,
}Expand description
一次登录的位置快照,用于异地检测与不可能旅行。
Fields§
§location: Option<String>§coords: Option<(f64, f64)>§at: u64Trait Implementations§
Source§impl Clone for LoginPoint
impl Clone for LoginPoint
Source§impl Debug for LoginPoint
impl Debug for LoginPoint
Source§impl PartialEq for LoginPoint
impl PartialEq for LoginPoint
impl StructuralPartialEq for LoginPoint
Auto Trait Implementations§
impl Freeze for LoginPoint
impl RefUnwindSafe for LoginPoint
impl Send for LoginPoint
impl Sync for LoginPoint
impl Unpin for LoginPoint
impl UnsafeUnpin for LoginPoint
impl UnwindSafe for LoginPoint
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