pub struct Votes {
pub param_self: Option<String>,
pub votes: Option<i64>,
pub has_voted: Option<bool>,
pub voters: Option<Vec<User>>,
}
Expand description
Votes : The details of votes on an issue.
Fields§
§param_self: Option<String>
The URL of these issue vote details.
votes: Option<i64>
The number of votes on the issue.
has_voted: Option<bool>
Whether the user making this request has voted on the issue.
voters: Option<Vec<User>>
List of the users who have voted on this issue. An empty list is returned when the calling user doesn’t have the View voters and watchers project permission.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Votes
impl<'de> Deserialize<'de> for Votes
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
impl StructuralPartialEq for Votes
Auto Trait Implementations§
impl Freeze for Votes
impl RefUnwindSafe for Votes
impl Send for Votes
impl Sync for Votes
impl Unpin for Votes
impl UnwindSafe for Votes
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