pub struct Change {Show 13 fields
pub id: String,
pub status: Option<String>,
pub resource_type: String,
pub gateway_id: String,
pub pipeline_id: Option<String>,
pub toml_config: Option<String>,
pub metadata: Option<Value>,
pub created_at: String,
pub acknowledged_at: Option<String>,
pub applied_at: Option<String>,
pub failed_at: Option<String>,
pub error_message: Option<String>,
pub error_details: Option<Value>,
}Expand description
Change resource for configuration change tracking (API v1.0)
This represents a configuration change that needs to be applied to a gateway. The API returns two different levels of detail:
-
ChangeMetadata (list view) - returned from
/api/harmony/changesendpoints Contains: id, status, type, gateway_id, created_at -
ChangeResource (detail view) - returned from
/api/harmony/changes/{change}endpoint
Contains all metadata fields plus: pipeline_id, toml_config, metadata, timestamps, error info
Fields§
§id: String§status: Option<String>§resource_type: String§gateway_id: String§pipeline_id: Option<String>§toml_config: Option<String>TOML configuration content (only present in detail view)
metadata: Option<Value>Additional metadata (only present in detail view)
created_at: String§acknowledged_at: Option<String>§applied_at: Option<String>§failed_at: Option<String>§error_message: Option<String>§error_details: Option<Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Change
impl<'de> Deserialize<'de> for Change
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
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnwindSafe for Change
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