pub enum StablePathSelector {
    Feature(&'static str),
    Version(MatrixVersion),
    FeatureAndVersion {
        feature: &'static str,
        version: MatrixVersion,
    },
}Available on crate feature 
api only.Expand description
A selector for a stable path of an endpoint.
Variants§
Feature(&'static str)
The path is available with the given stable feature.
Version(MatrixVersion)
The path was added in the given Matrix version.
FeatureAndVersion
The path is available via a stable feature and was added in a Matrix version.
Fields
§
version: MatrixVersionThe Matrix version when the path was added.
Implementations§
Trait Implementations§
Source§impl Clone for StablePathSelector
 
impl Clone for StablePathSelector
Source§fn clone(&self) -> StablePathSelector
 
fn clone(&self) -> StablePathSelector
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 StablePathSelector
 
impl Debug for StablePathSelector
Source§impl From<MatrixVersion> for StablePathSelector
 
impl From<MatrixVersion> for StablePathSelector
Source§fn from(value: MatrixVersion) -> StablePathSelector
 
fn from(value: MatrixVersion) -> StablePathSelector
Converts to this type from the input type.
Source§impl PartialEq for StablePathSelector
 
impl PartialEq for StablePathSelector
impl Copy for StablePathSelector
impl Eq for StablePathSelector
impl StructuralPartialEq for StablePathSelector
Auto Trait Implementations§
impl Freeze for StablePathSelector
impl RefUnwindSafe for StablePathSelector
impl Send for StablePathSelector
impl Sync for StablePathSelector
impl Unpin for StablePathSelector
impl UnwindSafe for StablePathSelector
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,
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.