Struct hersir::builder::vote::VotePlanKey
source · pub struct VotePlanKey {
pub alias: String,
pub owner_alias: String,
}
Fields§
§alias: String
§owner_alias: String
Trait Implementations§
source§impl Clone for VotePlanKey
impl Clone for VotePlanKey
source§fn clone(&self) -> VotePlanKey
fn clone(&self) -> VotePlanKey
Returns a copy 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 VotePlanKey
impl Debug for VotePlanKey
source§impl<'de> Deserialize<'de> for VotePlanKey
impl<'de> Deserialize<'de> for VotePlanKey
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
source§impl Hash for VotePlanKey
impl Hash for VotePlanKey
source§impl PartialEq<VotePlanKey> for VotePlanKey
impl PartialEq<VotePlanKey> for VotePlanKey
source§fn eq(&self, other: &VotePlanKey) -> bool
fn eq(&self, other: &VotePlanKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VotePlanKey
impl Serialize for VotePlanKey
impl Eq for VotePlanKey
impl StructuralEq for VotePlanKey
impl StructuralPartialEq for VotePlanKey
Auto Trait Implementations§
impl RefUnwindSafe for VotePlanKey
impl Send for VotePlanKey
impl Sync for VotePlanKey
impl Unpin for VotePlanKey
impl UnwindSafe for VotePlanKey
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request