#[non_exhaustive]pub struct SessionSkillsResponse {
pub items: Vec<SkillResponse>,
}Expand description
The envelope for the skills attributed to one session.
Models the contract’s sessionSkillsResponse 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.items: Vec<SkillResponse>The contract’s items.
Trait Implementations§
Source§impl Clone for SessionSkillsResponse
impl Clone for SessionSkillsResponse
Source§fn clone(&self) -> SessionSkillsResponse
fn clone(&self) -> SessionSkillsResponse
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 SessionSkillsResponse
impl Debug for SessionSkillsResponse
Source§impl Default for SessionSkillsResponse
impl Default for SessionSkillsResponse
Source§fn default() -> SessionSkillsResponse
fn default() -> SessionSkillsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionSkillsResponsewhere
SessionSkillsResponse: Default,
impl<'de> Deserialize<'de> for SessionSkillsResponsewhere
SessionSkillsResponse: 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 SessionSkillsResponse
impl PartialEq for SessionSkillsResponse
Source§impl Serialize for SessionSkillsResponse
impl Serialize for SessionSkillsResponse
impl StructuralPartialEq for SessionSkillsResponse
Auto Trait Implementations§
impl Freeze for SessionSkillsResponse
impl RefUnwindSafe for SessionSkillsResponse
impl Send for SessionSkillsResponse
impl Sync for SessionSkillsResponse
impl Unpin for SessionSkillsResponse
impl UnsafeUnpin for SessionSkillsResponse
impl UnwindSafe for SessionSkillsResponse
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