pub struct update_ticket_fields;Expand description
PATCH /tickets/{id} — Story 3.6 (FR31) / INV-24.
Edits the editable fields of a ticket (title / description / category / priority / severity / incident_date / evidence_attachments / witnesses). Returns:
- 200 OK on success;
- 403 (
kind = ticket_immutable) if the 5-minute editability window has elapsed; - 404 if the ticket does not exist;
- 400 (
kind = validation) on invariant violations; - 403 (multi-tenant isolation) if the ticket belongs to a different org.
Workflow transitions (assign/resolve/close/cancel/reopen) keep their own dedicated PUT endpoints — this PATCH is for content corrections inside the 5-minute window only.
Trait Implementations§
Source§impl HttpServiceFactory for update_ticket_fields
impl HttpServiceFactory for update_ticket_fields
Source§impl Path for update_ticket_fields
impl Path for update_ticket_fields
Source§impl SchemaReferences for update_ticket_fields
impl SchemaReferences for update_ticket_fields
Source§impl<'t> Tags<'t> for update_ticket_fields
impl<'t> Tags<'t> for update_ticket_fields
Auto Trait Implementations§
impl Freeze for update_ticket_fields
impl RefUnwindSafe for update_ticket_fields
impl Send for update_ticket_fields
impl Sync for update_ticket_fields
impl Unpin for update_ticket_fields
impl UnsafeUnpin for update_ticket_fields
impl UnwindSafe for update_ticket_fields
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Fake for T
impl<T> Fake for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.