pub struct IndexResponse {
pub repo: IndexedRepo,
pub listings: Vec<IndexedListing>,
pub warnings: Vec<IndexWarning>,
}Expand description
Successful POST /v1/index envelope returned by the cloud.
Fields§
§repo: IndexedRepo§listings: Vec<IndexedListing>§warnings: Vec<IndexWarning>Trait Implementations§
Source§impl Clone for IndexResponse
impl Clone for IndexResponse
Source§fn clone(&self) -> IndexResponse
fn clone(&self) -> IndexResponse
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 moreSource§impl Debug for IndexResponse
impl Debug for IndexResponse
Source§impl<'de> Deserialize<'de> for IndexResponse
impl<'de> Deserialize<'de> for IndexResponse
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 IndexResponse
Source§impl PartialEq for IndexResponse
impl PartialEq for IndexResponse
Source§fn eq(&self, other: &IndexResponse) -> bool
fn eq(&self, other: &IndexResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IndexResponse
impl Serialize for IndexResponse
impl StructuralPartialEq for IndexResponse
Auto Trait Implementations§
impl Freeze for IndexResponse
impl RefUnwindSafe for IndexResponse
impl Send for IndexResponse
impl Sync for IndexResponse
impl Unpin for IndexResponse
impl UnsafeUnpin for IndexResponse
impl UnwindSafe for IndexResponse
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<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§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.