pub struct OrderedCollectionPageProperties {
pub start_index: Option<Value>,
}Expand description
The OrderedCollectionPage type MAY be used to identify a page whose items are strictly ordered.
Fields§
§start_index: Option<Value>A non-negative integer value identifying the relative position within the logical view of a strictly ordered collection.
- Range:
xsd:nonNegativeInteger - Functional: true
Implementations§
Source§impl OrderedCollectionPageProperties
impl OrderedCollectionPageProperties
Sourcepub fn start_index_u64(&self) -> Result<u64>
pub fn start_index_u64(&self) -> Result<u64>
Retrieve a value from the given struct
This method deserializes the item from JSON, so be wary of using this a lot.
Possible errors from this method are Error::NotFound and
Error::Deserialize
Sourcepub fn set_start_index_u64(&mut self, item: u64) -> Result<()>
pub fn set_start_index_u64(&mut self, item: u64) -> Result<()>
Set a value in the given struct
This method serializes the item to JSON, so be wary of using this a lot.
Possible errors from this method are Error::Serialize
Trait Implementations§
Source§impl Clone for OrderedCollectionPageProperties
impl Clone for OrderedCollectionPageProperties
Source§fn clone(&self) -> OrderedCollectionPageProperties
fn clone(&self) -> OrderedCollectionPageProperties
Returns a duplicate 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 Default for OrderedCollectionPageProperties
impl Default for OrderedCollectionPageProperties
Source§fn default() -> OrderedCollectionPageProperties
fn default() -> OrderedCollectionPageProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrderedCollectionPageProperties
impl<'de> Deserialize<'de> for OrderedCollectionPageProperties
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
Auto Trait Implementations§
impl Freeze for OrderedCollectionPageProperties
impl RefUnwindSafe for OrderedCollectionPageProperties
impl Send for OrderedCollectionPageProperties
impl Sync for OrderedCollectionPageProperties
impl Unpin for OrderedCollectionPageProperties
impl UnwindSafe for OrderedCollectionPageProperties
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