pub struct Input {
pub revision: Option<String>,
pub skill_id: InputSkillId,
}Expand description
Returns a skill and its revision metadata. When the optional revision query parameter is omitted, the endpoint returns the skill’s active revision.
Fields§
§revision: Option<String>Opaque revision token to retrieve. When omitted, the active revision is returned. Send this value as a URL query parameter.
skill_id: InputSkillIdSkill identifier returned by skill creation or by GET /v1/skills. Send this value in the URL path.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Input
impl<'de> Deserialize<'de> for Input
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 IntoOperation for Input
impl IntoOperation for Input
Auto Trait Implementations§
impl Forget for Input
impl Freeze for Input
impl Move for Input
impl RefUnwindSafe for Input
impl Send for Inputwhere
RawVecInner: Send,
impl Sync for Inputwhere
RawVecInner: Sync,
impl Unpin for Input
impl UnsafeUnpin for Input
impl UnwindSafe for Inputwhere
RawVecInner: UnwindSafe,
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