pub struct VnList {
pub uid: Option<u64>,
pub vn: Option<u64>,
pub status: Option<VnStatus>,
pub added: u64,
pub notes: Option<String>,
}
Expand description
Vote list data representation. Returned by get user
Fields§
§uid: Option<u64>
Unique identifier of User.
Provided when basic
flag is specified.
vn: Option<u64>
Unique identifier of VN.
Provided when basic
flag is specified.
status: Option<VnStatus>
Status of VN.
added: u64
Unix timestamp of when this vote is added.
Provided when basic
flag is specified.
notes: Option<String>
User’s notes.
Optionally provided when basic
flag is specified.
Trait Implementations§
source§impl<'de> Deserialize<'de> for VnList
impl<'de> Deserialize<'de> for VnList
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 VnList
impl RefUnwindSafe for VnList
impl Send for VnList
impl Sync for VnList
impl Unpin for VnList
impl UnwindSafe for VnList
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