pub struct InspectArchiveCapabilityContract {
pub state: RuntimeCapabilityStatus,
pub route: String,
pub archive_version: u16,
pub content_type: String,
pub encryption: String,
pub completion_contract: String,
pub max_bytes: usize,
pub max_duration_secs: u64,
pub max_metadata_bytes_per_drive: usize,
pub extra: BTreeMap<String, Value>,
}Expand description
Exact capability fields required before invoking the archive route.
Fields§
§state: RuntimeCapabilityStatus§route: String§archive_version: u16§content_type: String§encryption: String§completion_contract: String§max_bytes: usize§max_duration_secs: u64§max_metadata_bytes_per_drive: usize§extra: BTreeMap<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for InspectArchiveCapabilityContract
impl Clone for InspectArchiveCapabilityContract
Source§fn clone(&self) -> InspectArchiveCapabilityContract
fn clone(&self) -> InspectArchiveCapabilityContract
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<'de> Deserialize<'de> for InspectArchiveCapabilityContract
impl<'de> Deserialize<'de> for InspectArchiveCapabilityContract
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 InspectArchiveCapabilityContract
impl StructuralPartialEq for InspectArchiveCapabilityContract
Auto Trait Implementations§
impl Freeze for InspectArchiveCapabilityContract
impl RefUnwindSafe for InspectArchiveCapabilityContract
impl Send for InspectArchiveCapabilityContract
impl Sync for InspectArchiveCapabilityContract
impl Unpin for InspectArchiveCapabilityContract
impl UnsafeUnpin for InspectArchiveCapabilityContract
impl UnwindSafe for InspectArchiveCapabilityContract
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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