#[repr(i32)]pub enum JobType {
JOB_TYPE_UNSPECIFIED = 0,
BATCH = 1,
}Expand description
How a job processes data. Currently always BATCH — the event log does not
yet distinguish streaming jobs.
Variants§
Implementations§
Source§impl JobType
impl JobType
Sourcepub const JobTypeUnspecified: JobType = Self::JOB_TYPE_UNSPECIFIED
pub const JobTypeUnspecified: JobType = Self::JOB_TYPE_UNSPECIFIED
Idiomatic alias for Self::JOB_TYPE_UNSPECIFIED; Debug prints the variant name.
Sourcepub const Batch: JobType = Self::BATCH
pub const Batch: JobType = Self::BATCH
Idiomatic alias for Self::BATCH; Debug prints the variant name.
Trait Implementations§
impl Copy for JobType
Source§impl<'de> Deserialize<'de> for JobType
impl<'de> Deserialize<'de> for JobType
Source§fn deserialize<D>(d: D) -> Result<JobType, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<JobType, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for JobType
impl Enumeration for JobType
Source§fn from_i32(value: i32) -> Option<JobType>
fn from_i32(value: i32) -> Option<JobType>
Convert from an
i32 wire value to the enum. Read moreSource§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for JobType
Source§impl ProtoElemJson for JobType
impl ProtoElemJson for JobType
Source§fn serialize_proto_json<S>(
v: &JobType,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize_proto_json<S>(
v: &JobType,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value with proto3 JSON semantics.
Source§fn deserialize_proto_json<'de, D>(
d: D,
) -> Result<JobType, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize_proto_json<'de, D>(
d: D,
) -> Result<JobType, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize a value with proto3 JSON semantics.
Source§impl Serialize for JobType
impl Serialize for JobType
Source§fn serialize<S>(
&self,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for JobType
Auto Trait Implementations§
impl Freeze for JobType
impl RefUnwindSafe for JobType
impl Send for JobType
impl Sync for JobType
impl Unpin for JobType
impl UnsafeUnpin for JobType
impl UnwindSafe for JobType
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§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.