pub struct RegisterArtifactsRequest {
pub task_id: Option<String>,
pub records: Vec<ArtifactRecord>,
}Expand description
Request body for POST /api/v1/admin/artifacts/register.
task_id binds the record set to the scheduler task the calling run
was dispatched for: the edge requires the task to be in flight and
every record to belong to the task’s dependency closure before it
writes a row. The Actions OIDC identity must name a task; a repo-push
caller (the operator/backfill path) may omit it.
Fields§
§task_id: Option<String>Scheduler task id the registering run was dispatched for
(BuildTaskPayload::task_id). Required from the Actions OIDC
identity; optional for repo-push callers.
records: Vec<ArtifactRecord>Artifact records to upsert into the catalog.
Trait Implementations§
Source§impl Clone for RegisterArtifactsRequest
impl Clone for RegisterArtifactsRequest
Source§impl ComposeSchema for RegisterArtifactsRequest
impl ComposeSchema for RegisterArtifactsRequest
Source§impl Debug for RegisterArtifactsRequest
impl Debug for RegisterArtifactsRequest
Source§impl<'de> Deserialize<'de> for RegisterArtifactsRequest
impl<'de> Deserialize<'de> for RegisterArtifactsRequest
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
impl Eq for RegisterArtifactsRequest
Source§impl PartialEq for RegisterArtifactsRequest
impl PartialEq for RegisterArtifactsRequest
Source§impl Serialize for RegisterArtifactsRequest
impl Serialize for RegisterArtifactsRequest
impl StructuralPartialEq for RegisterArtifactsRequest
Auto Trait Implementations§
impl Freeze for RegisterArtifactsRequest
impl RefUnwindSafe for RegisterArtifactsRequest
impl Send for RegisterArtifactsRequest
impl Sync for RegisterArtifactsRequest
impl Unpin for RegisterArtifactsRequest
impl UnsafeUnpin for RegisterArtifactsRequest
impl UnwindSafe for RegisterArtifactsRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.