pub struct SkillFile {
pub id: String,
pub path: String,
pub blob_id: String,
pub sha256_hash: String,
pub content_type: String,
pub content_length: i64,
pub content: Option<Option<String>>,
}Fields§
§id: String§path: String§blob_id: String§sha256_hash: String§content_type: String§content_length: i64§content: Option<Option<String>>UTF-8 text content, included when fetching a skill with includeContent enabled.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SkillFile
impl<'de> Deserialize<'de> for SkillFile
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
impl StructuralPartialEq for SkillFile
Source§impl Validate for SkillFile
impl Validate for SkillFile
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 SkillFile
impl Freeze for SkillFile
impl Move for SkillFile
impl RefUnwindSafe for SkillFile
impl Send for SkillFile
impl Sync for SkillFile
impl Unpin for SkillFile
impl UnsafeUnpin for SkillFile
impl UnwindSafe for SkillFile
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