pub struct UploadSkillOptions {
pub files: Vec<SkillFile>,
pub display_title: Option<String>,
pub provider_options: Option<ProviderOptions>,
}Expand description
Options for one SkillsModel::upload_skill call.
Mirrors SkillsV4UploadSkillCallOptions.
Fields§
§files: Vec<SkillFile>Files that make up the skill (at least one).
display_title: Option<String>Optional human-readable title.
provider_options: Option<ProviderOptions>Provider-specific options.
Trait Implementations§
Source§impl Clone for UploadSkillOptions
impl Clone for UploadSkillOptions
Source§fn clone(&self) -> UploadSkillOptions
fn clone(&self) -> UploadSkillOptions
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 UploadSkillOptions
impl Debug for UploadSkillOptions
Source§impl<'de> Deserialize<'de> for UploadSkillOptions
impl<'de> Deserialize<'de> for UploadSkillOptions
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
Auto Trait Implementations§
impl Freeze for UploadSkillOptions
impl RefUnwindSafe for UploadSkillOptions
impl Send for UploadSkillOptions
impl Sync for UploadSkillOptions
impl Unpin for UploadSkillOptions
impl UnsafeUnpin for UploadSkillOptions
impl UnwindSafe for UploadSkillOptions
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