Struct opendal::raw::ObjectEntry
source · pub struct ObjectEntry { /* private fields */ }
Expand description
ObjectEntry is returned by ObjectPage
or BlockingObjectPage
during list operations.
Implementations§
source§impl ObjectEntry
impl ObjectEntry
sourcepub fn new(path: &str, meta: ObjectMetadata) -> ObjectEntry
pub fn new(path: &str, meta: ObjectMetadata) -> ObjectEntry
Create a new object entry by its corresponding underlying storage.
sourcepub fn with(path: String, meta: ObjectMetadata) -> ObjectEntry
pub fn with(path: String, meta: ObjectMetadata) -> ObjectEntry
Create a new object entry with given value.
sourcepub fn mode(&self) -> ObjectMode
pub fn mode(&self) -> ObjectMode
Get entry’s object mode.
sourcepub fn into_object(self, op: Operator) -> Object
pub fn into_object(self, op: Operator) -> Object
Consume to convert into an object.
Trait Implementations§
source§impl Clone for ObjectEntry
impl Clone for ObjectEntry
source§fn clone(&self) -> ObjectEntry
fn clone(&self) -> ObjectEntry
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 more