Struct oci_client::client::LayerDescriptor
source · pub struct LayerDescriptor<'a> {
pub digest: &'a str,
pub urls: &'a Option<Vec<String>>,
}
Expand description
Layer descriptor required to pull a layer
Fields§
§digest: &'a str
The digest of the layer
urls: &'a Option<Vec<String>>
Optional list of additional URIs to pull the layer from
Trait Implementations§
source§impl AsLayerDescriptor for &LayerDescriptor<'_>
impl AsLayerDescriptor for &LayerDescriptor<'_>
source§fn as_layer_descriptor(&self) -> LayerDescriptor<'_>
fn as_layer_descriptor(&self) -> LayerDescriptor<'_>
Convert the type to a LayerDescriptor reference
Auto Trait Implementations§
impl<'a> Freeze for LayerDescriptor<'a>
impl<'a> RefUnwindSafe for LayerDescriptor<'a>
impl<'a> Send for LayerDescriptor<'a>
impl<'a> Sync for LayerDescriptor<'a>
impl<'a> Unpin for LayerDescriptor<'a>
impl<'a> UnwindSafe for LayerDescriptor<'a>
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