pub struct BridgeVotePayload {
pub target: String,
pub scores: Vec<BridgeScore>,
}Expand description
Vote payload with one or more structured score axes.
Fields§
§target: StringTarget packet path or contribution id being voted on.
scores: Vec<BridgeScore>Structured score axes.
Implementations§
Trait Implementations§
Source§impl Clone for BridgeVotePayload
impl Clone for BridgeVotePayload
Source§fn clone(&self) -> BridgeVotePayload
fn clone(&self) -> BridgeVotePayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BridgeVotePayload
impl Debug for BridgeVotePayload
impl Eq for BridgeVotePayload
Source§impl PartialEq for BridgeVotePayload
impl PartialEq for BridgeVotePayload
impl StructuralPartialEq for BridgeVotePayload
Auto Trait Implementations§
impl Freeze for BridgeVotePayload
impl RefUnwindSafe for BridgeVotePayload
impl Send for BridgeVotePayload
impl Sync for BridgeVotePayload
impl Unpin for BridgeVotePayload
impl UnsafeUnpin for BridgeVotePayload
impl UnwindSafe for BridgeVotePayload
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