pub struct Version {
pub uri: String,
pub did: String,
pub record: Value,
pub name: Option<String>,
pub handle: Option<String>,
pub rank: Option<u8>,
pub mirror: bool,
pub verification: Option<Value>,
pub indexed_at: Option<String>,
}Expand description
One version as getVersions answers it.
Fields§
§uri: String§did: String§record: Value§name: Option<String>§handle: Option<String>§rank: Option<u8>§mirror: bool§verification: Option<Value>§indexed_at: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Version
impl<'de> Deserialize<'de> for Version
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
Auto Trait Implementations§
impl Forget for Version
impl Freeze for Version
impl Move for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnsafeUnpin for Version
impl UnwindSafe for Version
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