Skip to main content

PipelineInfo

Struct PipelineInfo 

Source
pub struct PipelineInfo {
Show 37 fields pub created_at: DateTime<Utc>, pub deployment_desired_status: CombinedDesiredStatus, pub deployment_desired_status_since: DateTime<Utc>, pub deployment_error: Option<ErrorResponse>, pub deployment_id: Option<Uuid>, pub deployment_initial: Option<RuntimeDesiredStatus>, pub deployment_resources_desired_status: ResourcesDesiredStatus, pub deployment_resources_desired_status_since: DateTime<Utc>, pub deployment_resources_status: ResourcesStatus, pub deployment_resources_status_details: Option<Value>, pub deployment_resources_status_since: DateTime<Utc>, pub deployment_runtime_desired_status: Option<RuntimeDesiredStatus>, pub deployment_runtime_desired_status_since: Option<DateTime<Utc>>, pub deployment_runtime_status: Option<RuntimeStatus>, pub deployment_runtime_status_details: Option<RuntimeStatusDetails>, pub deployment_runtime_status_since: Option<DateTime<Utc>>, pub deployment_status: CombinedStatus, pub deployment_status_since: DateTime<Utc>, pub description: Option<String>, pub id: PipelineId, pub name: String, pub platform_version: String, pub program_code: String, pub program_config: ProgramConfig, pub program_error: ProgramError, pub program_info: Option<PartialProgramInfo>, pub program_status: ProgramStatus, pub program_status_since: DateTime<Utc>, pub program_version: Version, pub refresh_version: Version, pub runtime_config: RuntimeConfig, pub storage_status: StorageStatus, pub storage_status_details: Option<StorageStatusDetails>, pub tags: Vec<String>, pub udf_rust: String, pub udf_toml: String, pub version: Version,
}
Expand description

Pipeline information. It both includes fields which are user-provided and system-generated.

JSON schema
{
 "description": "Pipeline information.\nIt both includes fields which are user-provided and system-generated.",
 "allOf": [
   {
     "$ref": "#/components/schemas/ClientMetadata"
   },
   {
     "type": "object",
     "required": [
       "created_at",
       "deployment_desired_status",
       "deployment_desired_status_since",
       "deployment_resources_desired_status",
       "deployment_resources_desired_status_since",
       "deployment_resources_status",
       "deployment_resources_status_since",
       "deployment_status",
       "deployment_status_since",
       "id",
       "name",
       "platform_version",
       "program_code",
       "program_config",
       "program_error",
       "program_status",
       "program_status_since",
       "program_version",
       "refresh_version",
       "runtime_config",
       "storage_status",
       "udf_rust",
       "udf_toml",
       "version"
     ],
     "properties": {
       "created_at": {
         "type": "string",
         "format": "date-time"
       },
       "deployment_desired_status": {
         "$ref": "#/components/schemas/CombinedDesiredStatus"
       },
       "deployment_desired_status_since": {
         "type": "string",
         "format": "date-time"
       },
       "deployment_error": {
         "allOf": [
           {
             "$ref": "#/components/schemas/ErrorResponse"
           }
         ]
       },
       "deployment_id": {
         "type": [
           "string",
           "null"
         ],
         "format": "uuid"
       },
       "deployment_initial": {
         "allOf": [
           {
             "$ref": "#/components/schemas/RuntimeDesiredStatus"
           }
         ]
       },
       "deployment_resources_desired_status": {
         "$ref": "#/components/schemas/ResourcesDesiredStatus"
       },
       "deployment_resources_desired_status_since": {
         "type": "string",
         "format": "date-time"
       },
       "deployment_resources_status": {
         "$ref": "#/components/schemas/ResourcesStatus"
       },
       "deployment_resources_status_details": {},
       "deployment_resources_status_since": {
         "type": "string",
         "format": "date-time"
       },
       "deployment_runtime_desired_status": {
         "allOf": [
           {
             "$ref": "#/components/schemas/RuntimeDesiredStatus"
           }
         ]
       },
       "deployment_runtime_desired_status_since": {
         "type": [
           "string",
           "null"
         ],
         "format": "date-time"
       },
       "deployment_runtime_status": {
         "allOf": [
           {
             "$ref": "#/components/schemas/RuntimeStatus"
           }
         ]
       },
       "deployment_runtime_status_details": {
         "allOf": [
           {
             "$ref": "#/components/schemas/RuntimeStatusDetails"
           }
         ]
       },
       "deployment_runtime_status_since": {
         "type": [
           "string",
           "null"
         ],
         "format": "date-time"
       },
       "deployment_status": {
         "$ref": "#/components/schemas/CombinedStatus"
       },
       "deployment_status_since": {
         "type": "string",
         "format": "date-time"
       },
       "id": {
         "$ref": "#/components/schemas/PipelineId"
       },
       "name": {
         "type": "string"
       },
       "platform_version": {
         "type": "string"
       },
       "program_code": {
         "type": "string"
       },
       "program_config": {
         "$ref": "#/components/schemas/ProgramConfig"
       },
       "program_error": {
         "$ref": "#/components/schemas/ProgramError"
       },
       "program_info": {
         "allOf": [
           {
             "$ref": "#/components/schemas/PartialProgramInfo"
           }
         ]
       },
       "program_status": {
         "$ref": "#/components/schemas/ProgramStatus"
       },
       "program_status_since": {
         "type": "string",
         "format": "date-time"
       },
       "program_version": {
         "$ref": "#/components/schemas/Version"
       },
       "refresh_version": {
         "$ref": "#/components/schemas/Version"
       },
       "runtime_config": {
         "$ref": "#/components/schemas/RuntimeConfig"
       },
       "storage_status": {
         "$ref": "#/components/schemas/StorageStatus"
       },
       "storage_status_details": {
         "allOf": [
           {
             "$ref": "#/components/schemas/StorageStatusDetails"
           }
         ]
       },
       "udf_rust": {
         "type": "string"
       },
       "udf_toml": {
         "type": "string"
       },
       "version": {
         "$ref": "#/components/schemas/Version"
       }
     }
   }
 ]
}

Fields§

§created_at: DateTime<Utc>§deployment_desired_status: CombinedDesiredStatus§deployment_desired_status_since: DateTime<Utc>§deployment_error: Option<ErrorResponse>§deployment_id: Option<Uuid>§deployment_initial: Option<RuntimeDesiredStatus>§deployment_resources_desired_status: ResourcesDesiredStatus§deployment_resources_desired_status_since: DateTime<Utc>§deployment_resources_status: ResourcesStatus§deployment_resources_status_details: Option<Value>§deployment_resources_status_since: DateTime<Utc>§deployment_runtime_desired_status: Option<RuntimeDesiredStatus>§deployment_runtime_desired_status_since: Option<DateTime<Utc>>§deployment_runtime_status: Option<RuntimeStatus>§deployment_runtime_status_details: Option<RuntimeStatusDetails>§deployment_runtime_status_since: Option<DateTime<Utc>>§deployment_status: CombinedStatus§deployment_status_since: DateTime<Utc>§description: Option<String>

Human-readable description of the pipeline. Default is an empty string.

§id: PipelineId§name: String§platform_version: String§program_code: String§program_config: ProgramConfig§program_error: ProgramError§program_info: Option<PartialProgramInfo>§program_status: ProgramStatus§program_status_since: DateTime<Utc>§program_version: Version§refresh_version: Version§runtime_config: RuntimeConfig§storage_status: StorageStatus§storage_status_details: Option<StorageStatusDetails>§tags: Vec<String>

Free-form labels used to organize, group, and filter pipelines. Default is no tags (empty vector).

§udf_rust: String§udf_toml: String§version: Version

Implementations§

Trait Implementations§

Source§

impl Clone for PipelineInfo

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PipelineInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for PipelineInfo

Source§

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 From<&PipelineInfo> for PipelineInfo

Source§

fn from(value: &PipelineInfo) -> Self

Converts to this type from the input type.
Source§

impl From<PipelineInfo> for PipelineInfo

Source§

fn from(value: PipelineInfo) -> Self

Converts to this type from the input type.
Source§

impl Serialize for PipelineInfo

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<PipelineInfo> for PipelineInfo

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: PipelineInfo) -> Result<Self, ConversionError>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> Serialize for T
where T: Serialize + ?Sized,

Source§

fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more