pub enum DoctorNewest {
Asking,
Read {
version: String,
},
Unread {
why: DoctorUnread,
},
Refused {
said: String,
},
}Expand description
What asking the item’s publisher came to.
Variants§
Asking
The city has asked the publisher and has no answer yet; asking again later reads what arrived. The question never waits on the network, because a session answers its questions one at a time.
Read
The newest stable version, as a dotted number.
Unread
This item has no single upstream version to read, and why.
Fields
§
why: DoctorUnreadRefused
The source was asked and did not answer; said is where the
call stopped.
Trait Implementations§
Source§impl Clone for DoctorNewest
impl Clone for DoctorNewest
Source§impl Debug for DoctorNewest
impl Debug for DoctorNewest
Source§impl<'de> Deserialize<'de> for DoctorNewest
impl<'de> Deserialize<'de> for DoctorNewest
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 DoctorNewest
Source§impl PartialEq for DoctorNewest
impl PartialEq for DoctorNewest
Source§impl Serialize for DoctorNewest
impl Serialize for DoctorNewest
impl StructuralPartialEq for DoctorNewest
Auto Trait Implementations§
impl Freeze for DoctorNewest
impl RefUnwindSafe for DoctorNewest
impl Send for DoctorNewest
impl Sync for DoctorNewest
impl Unpin for DoctorNewest
impl UnsafeUnpin for DoctorNewest
impl UnwindSafe for DoctorNewest
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