#[non_exhaustive]pub struct SkillVersionResponse {
pub author_id: String,
pub changelog: String,
pub content: String,
pub id: String,
pub published_at: String,
pub semver: String,
pub skill_id: String,
pub version_number: i32,
}Expand description
One immutable published snapshot.
Models the contract’s skillVersionResponse 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.The contract’s authorId.
changelog: StringThe contract’s changelog.
content: StringThe contract’s content.
id: StringThe contract’s id.
published_at: StringThe contract’s publishedAt.
semver: StringThe contract’s semver.
skill_id: StringThe contract’s skillId.
version_number: i32The contract’s versionNumber.
Trait Implementations§
Source§impl Clone for SkillVersionResponse
impl Clone for SkillVersionResponse
Source§fn clone(&self) -> SkillVersionResponse
fn clone(&self) -> SkillVersionResponse
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 SkillVersionResponse
impl ContractModel for SkillVersionResponse
Source§impl Debug for SkillVersionResponse
impl Debug for SkillVersionResponse
Source§impl Default for SkillVersionResponse
impl Default for SkillVersionResponse
Source§fn default() -> SkillVersionResponse
fn default() -> SkillVersionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SkillVersionResponsewhere
SkillVersionResponse: Default,
impl<'de> Deserialize<'de> for SkillVersionResponsewhere
SkillVersionResponse: 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 SkillVersionResponse
impl PartialEq for SkillVersionResponse
Source§impl Serialize for SkillVersionResponse
impl Serialize for SkillVersionResponse
impl StructuralPartialEq for SkillVersionResponse
Auto Trait Implementations§
impl Freeze for SkillVersionResponse
impl RefUnwindSafe for SkillVersionResponse
impl Send for SkillVersionResponse
impl Sync for SkillVersionResponse
impl Unpin for SkillVersionResponse
impl UnsafeUnpin for SkillVersionResponse
impl UnwindSafe for SkillVersionResponse
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