pub struct EntityMetadataCollection {
pub total_count: Option<Option<i64>>,
pub next_cursor: Option<Option<String>>,
pub items: Vec<EntityMetadataItem>,
}Expand description
EntityMetadataCollection : Entity metadata collection.
Fields§
§total_count: Option<Option<i64>>Total number of items in underlying collection, fragment of which is available in items collection.
next_cursor: Option<Option<String>>If specified, contains a cursor to query next page of the items collection.
items: Vec<EntityMetadataItem>Implementations§
Source§impl EntityMetadataCollection
impl EntityMetadataCollection
Sourcepub fn new(items: Vec<EntityMetadataItem>) -> EntityMetadataCollection
pub fn new(items: Vec<EntityMetadataItem>) -> EntityMetadataCollection
Entity metadata collection.
Trait Implementations§
Source§impl Clone for EntityMetadataCollection
impl Clone for EntityMetadataCollection
Source§fn clone(&self) -> EntityMetadataCollection
fn clone(&self) -> EntityMetadataCollection
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 Debug for EntityMetadataCollection
impl Debug for EntityMetadataCollection
Source§impl Default for EntityMetadataCollection
impl Default for EntityMetadataCollection
Source§fn default() -> EntityMetadataCollection
fn default() -> EntityMetadataCollection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EntityMetadataCollection
impl<'de> Deserialize<'de> for EntityMetadataCollection
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
Source§impl PartialEq for EntityMetadataCollection
impl PartialEq for EntityMetadataCollection
Source§impl Serialize for EntityMetadataCollection
impl Serialize for EntityMetadataCollection
impl StructuralPartialEq for EntityMetadataCollection
Auto Trait Implementations§
impl Freeze for EntityMetadataCollection
impl RefUnwindSafe for EntityMetadataCollection
impl Send for EntityMetadataCollection
impl Sync for EntityMetadataCollection
impl Unpin for EntityMetadataCollection
impl UnwindSafe for EntityMetadataCollection
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