pub struct File { /* private fields */ }Expand description
Representation of data that is part of a table.
Implementations§
Source§impl File
impl File
Sourcepub fn url_mut(&mut self) -> &mut String
pub fn url_mut(&mut self) -> &mut String
A mutable HTTPS url that a client can use to directly read the data file.
Sourcepub fn partition_values(&self) -> HashMap<String, String>
pub fn partition_values(&self) -> HashMap<String, String>
A map from partition column to value for this file in the table.
Sourcepub fn timestamp(&self) -> Option<u64>
pub fn timestamp(&self) -> Option<u64>
The unix timestamp in milliseconds corresponding to the table version associated with this file.
Sourcepub fn expiration_timestamp(&self) -> Option<u64>
pub fn expiration_timestamp(&self) -> Option<u64>
The unix timestamp in milliseconds corresponding to the expiration of the url associated with this file.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for File
impl<'de> Deserialize<'de> for File
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 File
impl StructuralPartialEq for File
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin 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§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.