Struct warg_api::v1::fetch::FetchPackageNamesResponse
source · pub struct FetchPackageNamesResponse {
pub packages: IndexMap<LogId, Option<PackageName>>,
}
Expand description
Represents a fetch package names response. If the requested number of packages exceeds the limit that the server can fulfill on a single request, the client should retry with the log IDs that are absent in the response body.
Fields§
§packages: IndexMap<LogId, Option<PackageName>>
The log ID hash mapping to a package name. If None
, the package name cannot be provided.
Trait Implementations§
source§impl<'de> Deserialize<'de> for FetchPackageNamesResponse
impl<'de> Deserialize<'de> for FetchPackageNamesResponse
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 RefUnwindSafe for FetchPackageNamesResponse
impl Send for FetchPackageNamesResponse
impl Sync for FetchPackageNamesResponse
impl Unpin for FetchPackageNamesResponse
impl UnwindSafe for FetchPackageNamesResponse
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