pub enum ChangeRef {
Session(SessionToken),
Url(String),
}Expand description
A change request, named by the session that published it or by its URL.
A URL needs no session and no registry: it names the repository and the change request on the host directly, so a caller on a host that has never seen the change can still read and answer its feedback.
Variants§
Session(SessionToken)
The open change request of this session — the one publish opened for it.
Url(String)
A change request’s URL, as the host prints it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChangeRef
impl<'de> Deserialize<'de> for ChangeRef
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
impl Eq for ChangeRef
impl StructuralPartialEq for ChangeRef
Auto Trait Implementations§
impl Freeze for ChangeRef
impl RefUnwindSafe for ChangeRef
impl Send for ChangeRef
impl Sync for ChangeRef
impl Unpin for ChangeRef
impl UnsafeUnpin for ChangeRef
impl UnwindSafe for ChangeRef
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.