pub struct MetadataRequest { /* private fields */ }Expand description
A request for artifact metadata covering the dependency graphs of the requested asset IDs.
Implementations§
Source§impl MetadataRequest
impl MetadataRequest
pub fn requested_assets(&self) -> impl Iterator<Item = &AssetUuid>
Sourcepub fn include_asset_metadata(&self) -> bool
pub fn include_asset_metadata(&self) -> bool
Whether the response should include asset metadata or not, for debugging purposes.
pub fn error<T: Error + Send + 'static>(self, err: T)
pub fn complete(self, metadata: Vec<MetadataRequestResult>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MetadataRequest
impl RefUnwindSafe for MetadataRequest
impl Send for MetadataRequest
impl Sync for MetadataRequest
impl Unpin for MetadataRequest
impl UnwindSafe for MetadataRequest
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