pub struct Input {
pub expected_revision: InputExpectedRevision,
pub skill_id: InputSkillId,
}Expand description
Deletes a skill identified by its skill ID. The request uses optimistic concurrency control: the supplied expected_revision must match the skill’s current revision, preventing deletion from racing with a concurrent update.
Fields§
§expected_revision: InputExpectedRevisionOpaque revision token that the skill must currently have. The deletion is applied only when this token matches the current revision, preventing races with concurrent updates. Send this value as a URL query parameter.
skill_id: InputSkillIdSkill identifier returned by skill creation or 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