pub struct SkillFileContent {
pub sha256_hash: String,
pub content: String,
}Fields§
§sha256_hash: String§content: StringImplementations§
Source§impl SkillFileContent
impl SkillFileContent
Sourcepub fn builder() -> SkillFileContentBuilder
pub fn builder() -> SkillFileContentBuilder
Create an instance of SkillFileContent using the builder syntax
Source§impl SkillFileContent
impl SkillFileContent
pub fn new(sha256_hash: String, content: String) -> SkillFileContent
Trait Implementations§
Source§impl Clone for SkillFileContent
impl Clone for SkillFileContent
Source§impl Debug for SkillFileContent
impl Debug for SkillFileContent
Source§impl<'de> Deserialize<'de> for SkillFileContent
impl<'de> Deserialize<'de> for SkillFileContent
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 SkillFileContent
impl PartialEq for SkillFileContent
Source§impl Serialize for SkillFileContent
impl Serialize for SkillFileContent
impl StructuralPartialEq for SkillFileContent
Source§impl Validate for SkillFileContent
impl Validate for SkillFileContent
Source§fn validate_into(&self, _path: &Path<'_>, _errors: &mut Vec<ValidationError>)
fn validate_into(&self, _path: &Path<'_>, _errors: &mut Vec<ValidationError>)
Pushes every value that breaks a keyword onto
errors, with its path below path, and nothing when the value
is valid. validate() calls it with Path::root; a model calls it on the models it holds with their path.Auto Trait Implementations§
impl Forget for SkillFileContent
impl Freeze for SkillFileContent
impl Move for SkillFileContent
impl RefUnwindSafe for SkillFileContent
impl Send for SkillFileContent
impl Sync for SkillFileContent
impl Unpin for SkillFileContent
impl UnsafeUnpin for SkillFileContent
impl UnwindSafe for SkillFileContent
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