#[non_exhaustive]pub struct ExportJobCreate {Show 13 fields
pub url: String,
pub id: Option<String>,
pub path: Option<String>,
pub content_type: Option<String>,
pub query: Option<String>,
pub status: Option<JobState>,
pub creation_date: Option<Timestamp>,
pub completion_date: Option<Timestamp>,
pub error_log: Option<String>,
pub at_type: String,
pub at_base_type: Option<String>,
pub at_schema_location: Option<String>,
pub extensions: Extensions,
}product only.Expand description
Body of a POST /exportJob — the v5 ExportJob_FVO.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.url: StringURL of the file to write to. Required on create.
id: Option<String>Client-supplied identifier, where the server permits one.
path: Option<String>Path within the file, where the format supports one.
content_type: Option<String>MIME type of the file.
query: Option<String>TMF630 filter selecting which resources to export.
status: Option<JobState>Initial state, where a server accepts one.
creation_date: Option<Timestamp>Creation timestamp, where a server accepts one.
completion_date: Option<Timestamp>Completion timestamp, where a server accepts one.
error_log: Option<String>Error log, where a server accepts one.
at_type: StringThe @type discriminator naming this entity’s class.
Empty when the payload declared none — TMF630 v5 marks it
required, but servers omit it and so do TM Forum’s own examples.
An absent discriminator stays absent, so relaying a payload does
not silently add a member to it; anything this crate builds
carries the class name. Read it through
type_name, which resolves the empty case.
at_base_type: Option<String>The @baseType, naming the supertype where this class is sub-typed.
at_schema_location: Option<String>A URI to a JSON-Schema file defining additional attributes.
extensions: ExtensionsMembers not covered by the typed model, kept in document order.
See the crate documentation for the round-trip guarantee this underwrites.
Implementations§
Source§impl ExportJobCreate
impl ExportJobCreate
Sourcepub fn builder() -> ExportJobCreateBuilder
pub fn builder() -> ExportJobCreateBuilder
Create an instance of ExportJobCreate using the builder syntax
Trait Implementations§
Source§impl Clone for ExportJobCreate
impl Clone for ExportJobCreate
Source§impl Debug for ExportJobCreate
impl Debug for ExportJobCreate
Source§impl<'de> Deserialize<'de> for ExportJobCreate
impl<'de> Deserialize<'de> for ExportJobCreate
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>,
Source§impl JsonSchema for ExportJobCreate
impl JsonSchema for ExportJobCreate
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more