Struct RelayCacheKey
pub struct RelayCacheKey {
pub upstream: String,
pub session_id: RelaySessionId,
pub subject: Option<String>,
}Fields§
§upstream: String§session_id: RelaySessionId§subject: Option<String>Trait Implementations§
§impl Clone for RelayCacheKey
impl Clone for RelayCacheKey
§fn clone(&self) -> RelayCacheKey
fn clone(&self) -> RelayCacheKey
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 more§impl Debug for RelayCacheKey
impl Debug for RelayCacheKey
§impl Hash for RelayCacheKey
impl Hash for RelayCacheKey
§impl Ord for RelayCacheKey
impl Ord for RelayCacheKey
§fn cmp(&self, other: &RelayCacheKey) -> Ordering
fn cmp(&self, other: &RelayCacheKey) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for RelayCacheKey
impl PartialEq for RelayCacheKey
§impl PartialOrd for RelayCacheKey
impl PartialOrd for RelayCacheKey
impl Eq for RelayCacheKey
impl StructuralPartialEq for RelayCacheKey
Auto Trait Implementations§
impl Freeze for RelayCacheKey
impl RefUnwindSafe for RelayCacheKey
impl Send for RelayCacheKey
impl Sync for RelayCacheKey
impl Unpin for RelayCacheKey
impl UnsafeUnpin for RelayCacheKey
impl UnwindSafe for RelayCacheKey
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.