Struct garage_model::s3::object_table::ObjectVersionMetaInner
source · pub struct ObjectVersionMetaInner {
pub headers: HeaderList,
pub checksum: Option<ChecksumValue>,
}
Expand description
Vector of headers, as tuples of the format (header name, header value)
Fields§
§headers: HeaderList
§checksum: Option<ChecksumValue>
Trait Implementations§
source§impl Clone for ObjectVersionMetaInner
impl Clone for ObjectVersionMetaInner
source§fn clone(&self) -> ObjectVersionMetaInner
fn clone(&self) -> ObjectVersionMetaInner
Returns a copy of the value. Read more
1.0.0 · 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 ObjectVersionMetaInner
impl Debug for ObjectVersionMetaInner
source§impl<'de> Deserialize<'de> for ObjectVersionMetaInner
impl<'de> Deserialize<'de> for ObjectVersionMetaInner
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
source§impl InitialFormat for ObjectVersionMetaInner
impl InitialFormat for ObjectVersionMetaInner
source§const VERSION_MARKER: &'static [u8] = b"G010s3om"
const VERSION_MARKER: &'static [u8] = b"G010s3om"
A sequence of bytes to add at the beginning of the serialized
string, to identify that the data is of this version.
source§impl Ord for ObjectVersionMetaInner
impl Ord for ObjectVersionMetaInner
source§fn cmp(&self, other: &ObjectVersionMetaInner) -> Ordering
fn cmp(&self, other: &ObjectVersionMetaInner) -> Ordering
1.21.0 · 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
source§impl PartialEq for ObjectVersionMetaInner
impl PartialEq for ObjectVersionMetaInner
source§fn eq(&self, other: &ObjectVersionMetaInner) -> bool
fn eq(&self, other: &ObjectVersionMetaInner) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ObjectVersionMetaInner
impl PartialOrd for ObjectVersionMetaInner
source§fn partial_cmp(&self, other: &ObjectVersionMetaInner) -> Option<Ordering>
fn partial_cmp(&self, other: &ObjectVersionMetaInner) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ObjectVersionMetaInner
impl Serialize for ObjectVersionMetaInner
impl Eq for ObjectVersionMetaInner
impl StructuralPartialEq for ObjectVersionMetaInner
Auto Trait Implementations§
impl Freeze for ObjectVersionMetaInner
impl RefUnwindSafe for ObjectVersionMetaInner
impl Send for ObjectVersionMetaInner
impl Sync for ObjectVersionMetaInner
impl Unpin for ObjectVersionMetaInner
impl UnwindSafe for ObjectVersionMetaInner
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Migrate for Twhere
T: InitialFormat,
impl<T> Migrate for Twhere
T: InitialFormat,
source§const VERSION_MARKER: &'static [u8] = <T as InitialFormat>::VERSION_MARKER
const VERSION_MARKER: &'static [u8] = <T as InitialFormat>::VERSION_MARKER
A sequence of bytes to add at the beginning of the serialized
string, to identify that the data is of this version.
§type Previous = NoPrevious
type Previous = NoPrevious
The previous version of this data type, from which items of this version
can be migrated.
source§fn migrate(_previous: <T as Migrate>::Previous) -> T
fn migrate(_previous: <T as Migrate>::Previous) -> T
The migration function that transforms a value decoded in the old format
to an up-to-date value.