pub struct CommentPosition {
pub token_id: String,
pub outcome: String,
pub shares: String,
}Expand description
Position held by comment author
Fields§
§token_id: String§outcome: StringTrait Implementations§
Source§impl Clone for CommentPosition
impl Clone for CommentPosition
Source§fn clone(&self) -> CommentPosition
fn clone(&self) -> CommentPosition
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 CommentPosition
impl Debug for CommentPosition
Source§impl<'de> Deserialize<'de> for CommentPosition
impl<'de> Deserialize<'de> for CommentPosition
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 CommentPosition
impl RefUnwindSafe for CommentPosition
impl Send for CommentPosition
impl Sync for CommentPosition
impl Unpin for CommentPosition
impl UnwindSafe for CommentPosition
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