pub struct ObjectAvailabilityPlan {
pub have_objects: Vec<ObjectId>,
pub want_objects: Vec<ObjectId>,
pub present_objects: Vec<ObjectId>,
pub missing_objects: Vec<ObjectId>,
pub resumable_objects: Vec<ObjectId>,
pub lazy_objects: Vec<ObjectId>,
pub partial_fetch_allowed: bool,
}Fields§
§have_objects: Vec<ObjectId>§want_objects: Vec<ObjectId>§present_objects: Vec<ObjectId>§missing_objects: Vec<ObjectId>§resumable_objects: Vec<ObjectId>§lazy_objects: Vec<ObjectId>§partial_fetch_allowed: boolImplementations§
Source§impl ObjectAvailabilityPlan
impl ObjectAvailabilityPlan
pub fn with_partial_fetch_allowed(self, allowed: bool) -> Self
pub fn is_complete(&self) -> bool
pub fn has_partial_fetch_candidates(&self) -> bool
Trait Implementations§
Source§impl Clone for ObjectAvailabilityPlan
impl Clone for ObjectAvailabilityPlan
Source§fn clone(&self) -> ObjectAvailabilityPlan
fn clone(&self) -> ObjectAvailabilityPlan
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 Debug for ObjectAvailabilityPlan
impl Debug for ObjectAvailabilityPlan
Source§impl Default for ObjectAvailabilityPlan
impl Default for ObjectAvailabilityPlan
Source§fn default() -> ObjectAvailabilityPlan
fn default() -> ObjectAvailabilityPlan
Returns the “default value” for a type. Read more
impl Eq for ObjectAvailabilityPlan
Source§impl PartialEq for ObjectAvailabilityPlan
impl PartialEq for ObjectAvailabilityPlan
Source§fn eq(&self, other: &ObjectAvailabilityPlan) -> bool
fn eq(&self, other: &ObjectAvailabilityPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ObjectAvailabilityPlan
Auto Trait Implementations§
impl Freeze for ObjectAvailabilityPlan
impl RefUnwindSafe for ObjectAvailabilityPlan
impl Send for ObjectAvailabilityPlan
impl Sync for ObjectAvailabilityPlan
impl Unpin for ObjectAvailabilityPlan
impl UnsafeUnpin for ObjectAvailabilityPlan
impl UnwindSafe for ObjectAvailabilityPlan
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