pub struct AuthorityLookupResponse {
pub package_id: BlobId,
pub http_blob_dir: String,
}Fields§
§package_id: BlobIdThe id of the package (the hash of its meta.far).
http_blob_dir: StringA URL of a directory on an HTTP[S] server that contains all of the blobs of the package. The filenames of the blobs in the directory are the hex-encoded hashes of the blobs. The blob files are contained directly in the directory (e.g. the delivery blob type does not need to be appended to the URL).
Trait Implementations§
Source§impl Clone for AuthorityLookupResponse
impl Clone for AuthorityLookupResponse
Source§fn clone(&self) -> AuthorityLookupResponse
fn clone(&self) -> AuthorityLookupResponse
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 AuthorityLookupResponse
impl Debug for AuthorityLookupResponse
Source§impl<D> Decode<AuthorityLookupResponse, D> for AuthorityLookupResponsewhere
D: ResourceDialect,
impl<D> Decode<AuthorityLookupResponse, D> for AuthorityLookupResponsewhere
D: ResourceDialect,
Source§fn new_empty() -> AuthorityLookupResponse
fn new_empty() -> AuthorityLookupResponse
Creates a valid instance of
Self. The specific value does not matter,
since it will be overwritten by decode.Source§impl<D> Encode<AuthorityLookupResponse, D> for &AuthorityLookupResponsewhere
D: ResourceDialect,
impl<D> Encode<AuthorityLookupResponse, D> for &AuthorityLookupResponsewhere
D: ResourceDialect,
impl Eq for AuthorityLookupResponse
Source§impl Hash for AuthorityLookupResponse
impl Hash for AuthorityLookupResponse
Source§impl Ord for AuthorityLookupResponse
impl Ord for AuthorityLookupResponse
Source§fn cmp(&self, other: &AuthorityLookupResponse) -> Ordering
fn cmp(&self, other: &AuthorityLookupResponse) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AuthorityLookupResponse
impl PartialEq for AuthorityLookupResponse
Source§impl PartialOrd for AuthorityLookupResponse
impl PartialOrd for AuthorityLookupResponse
impl Persistable for AuthorityLookupResponse
impl StructuralPartialEq for AuthorityLookupResponse
Source§impl TypeMarker for AuthorityLookupResponse
impl TypeMarker for AuthorityLookupResponse
Source§type Owned = AuthorityLookupResponse
type Owned = AuthorityLookupResponse
The owned Rust type which this FIDL type decodes into.
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned to a single memcpy.Source§impl ValueTypeMarker for AuthorityLookupResponse
impl ValueTypeMarker for AuthorityLookupResponse
Source§type Borrowed<'a> = &'a AuthorityLookupResponse
type Borrowed<'a> = &'a AuthorityLookupResponse
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read moreSource§fn borrow(
value: &<AuthorityLookupResponse as TypeMarker>::Owned,
) -> <AuthorityLookupResponse as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<AuthorityLookupResponse as TypeMarker>::Owned, ) -> <AuthorityLookupResponse as ValueTypeMarker>::Borrowed<'_>
Cheaply converts from
&Self::Owned to Self::Borrowed.Auto Trait Implementations§
impl Freeze for AuthorityLookupResponse
impl RefUnwindSafe for AuthorityLookupResponse
impl Send for AuthorityLookupResponse
impl Sync for AuthorityLookupResponse
impl Unpin for AuthorityLookupResponse
impl UnsafeUnpin for AuthorityLookupResponse
impl UnwindSafe for AuthorityLookupResponse
Blanket Implementations§
Source§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
Source§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
Source§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
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