#[non_exhaustive]pub struct SkillsListResponse {
pub counts: SkillCounts,
pub items: Vec<SkillResponse>,
pub next_cursor: String,
}Expand description
The paginated list envelope: one keyset page plus the opaque next_cursor (mirroring /v1/sessions) and the per-tab counts for the active search.
Models the contract’s skillsListResponse schema.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.counts: SkillCountsThe contract’s counts.
items: Vec<SkillResponse>The contract’s items.
next_cursor: StringThe contract’s next_cursor.
Implementations§
Source§impl SkillsListResponse
impl SkillsListResponse
Sourcepub fn into_page(self) -> Page<SkillResponse>
pub fn into_page(self) -> Page<SkillResponse>
This listing as one page of the crate’s pagination convention.
See crate::core::models::SessionListResponse::into_page: the skills
envelope pages the same way, so it walks through the same loop.
Trait Implementations§
Source§impl Clone for SkillsListResponse
impl Clone for SkillsListResponse
Source§fn clone(&self) -> SkillsListResponse
fn clone(&self) -> SkillsListResponse
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 ContractModel for SkillsListResponse
impl ContractModel for SkillsListResponse
Source§impl Debug for SkillsListResponse
impl Debug for SkillsListResponse
Source§impl Default for SkillsListResponse
impl Default for SkillsListResponse
Source§fn default() -> SkillsListResponse
fn default() -> SkillsListResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SkillsListResponsewhere
SkillsListResponse: Default,
impl<'de> Deserialize<'de> for SkillsListResponsewhere
SkillsListResponse: Default,
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 SkillsListResponse
impl PartialEq for SkillsListResponse
Source§impl Serialize for SkillsListResponse
impl Serialize for SkillsListResponse
impl StructuralPartialEq for SkillsListResponse
Auto Trait Implementations§
impl Freeze for SkillsListResponse
impl RefUnwindSafe for SkillsListResponse
impl Send for SkillsListResponse
impl Sync for SkillsListResponse
impl Unpin for SkillsListResponse
impl UnsafeUnpin for SkillsListResponse
impl UnwindSafe for SkillsListResponse
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