pub struct SkillVersionFileInput {
pub path: String,
pub content: String,
}Fields§
§path: String§content: StringUTF-8 text content. The server computes the hash and byte length.
Implementations§
Source§impl SkillVersionFileInput
impl SkillVersionFileInput
Sourcepub fn builder() -> SkillVersionFileInputBuilder
pub fn builder() -> SkillVersionFileInputBuilder
Create an instance of SkillVersionFileInput using the builder syntax
Source§impl SkillVersionFileInput
impl SkillVersionFileInput
pub fn new(path: String, content: String) -> SkillVersionFileInput
Trait Implementations§
Source§impl Clone for SkillVersionFileInput
impl Clone for SkillVersionFileInput
Source§impl Debug for SkillVersionFileInput
impl Debug for SkillVersionFileInput
Source§impl<'de> Deserialize<'de> for SkillVersionFileInput
impl<'de> Deserialize<'de> for SkillVersionFileInput
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 SkillVersionFileInput
impl PartialEq for SkillVersionFileInput
Source§impl Serialize for SkillVersionFileInput
impl Serialize for SkillVersionFileInput
impl StructuralPartialEq for SkillVersionFileInput
Source§impl Validate for SkillVersionFileInput
impl Validate for SkillVersionFileInput
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 SkillVersionFileInput
impl Freeze for SkillVersionFileInput
impl Move for SkillVersionFileInput
impl RefUnwindSafe for SkillVersionFileInput
impl Send for SkillVersionFileInput
impl Sync for SkillVersionFileInput
impl Unpin for SkillVersionFileInput
impl UnsafeUnpin for SkillVersionFileInput
impl UnwindSafe for SkillVersionFileInput
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