pub struct File {
pub bucket: String,
pub key: String,
}Fields§
§bucket: String§key: StringImplementations§
Source§impl File
impl File
Sourcepub fn walk_revisioned_field_names(
wire_revision: u16,
) -> &'static [&'static str]
pub fn walk_revisioned_field_names( wire_revision: u16, ) -> &'static [&'static str]
Field names at the given wire revision in declaration order.
Returns an empty slice if the revision is unknown. Generated
by the revisioned derive.
Trait Implementations§
Source§impl<'de> BorrowDecode<'de, IndexFormat> for File
impl<'de> BorrowDecode<'de, IndexFormat> for File
fn borrow_decode(_r: &mut BorrowReader<'de>) -> Result<Self, DecodeError>
Source§impl<'de> BorrowDecode<'de> for File
impl<'de> BorrowDecode<'de> for File
fn borrow_decode(_r: &mut BorrowReader<'de>) -> Result<Self, DecodeError>
Source§impl DeserializeRevisioned for File
impl DeserializeRevisioned for File
Source§impl Encode<IndexFormat> for File
impl Encode<IndexFormat> for File
impl Eq for File
Source§impl PartialOrd for File
impl PartialOrd for File
Source§impl Revisioned for File
impl Revisioned for File
Source§impl SerializeRevisioned for File
impl SerializeRevisioned for File
Source§impl SkipCheckRevisioned for File
impl SkipCheckRevisioned for File
Source§impl SkipRevisioned for File
impl SkipRevisioned for File
fn skip_revisioned<R: Read>(reader: &mut R) -> Result<(), Error>
Source§fn skip_revisioned_slice(reader: &mut SliceReader<'_>) -> Result<(), Error>
fn skip_revisioned_slice(reader: &mut SliceReader<'_>) -> Result<(), Error>
Consume through bytes backed by
SliceReader without allocating a buffer for bulk segments. Read moreimpl StructuralPartialEq for File
Source§impl WalkRevisioned for File
impl WalkRevisioned for File
Source§type Walker<'r, R: BorrowedReader + 'r> = FileWalker<'r, R>
type Walker<'r, R: BorrowedReader + 'r> = FileWalker<'r, R>
Walker produced by
walk_revisioned. Read moreSource§fn walk_revisioned<'r, R: BorrowedReader>(
reader: &'r mut R,
) -> Result<Self::Walker<'r, R>, Error>
fn walk_revisioned<'r, R: BorrowedReader>( reader: &'r mut R, ) -> Result<Self::Walker<'r, R>, Error>
Read the type’s revision-level prefix and return a walker positioned at
the start of the body. Read more
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnsafeUnpin for File
impl UnwindSafe for File
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.