pub struct GetTaskByNameResponse {
pub task_id: Option<String>,
pub name: Option<String>,
pub operator_name: Option<String>,
pub input_collection_id: Option<String>,
pub output_collection_name: Option<String>,
pub output_collection_id: Option<String>,
pub params: Option<Struct>,
pub completion_offset: Option<i64>,
pub min_records_for_task: Option<u64>,
pub tenant_id: Option<String>,
pub database_id: Option<String>,
}Fields§
§task_id: Option<String>§name: Option<String>§operator_name: Option<String>§input_collection_id: Option<String>§output_collection_name: Option<String>§output_collection_id: Option<String>§params: Option<Struct>§completion_offset: Option<i64>§min_records_for_task: Option<u64>§tenant_id: Option<String>§database_id: Option<String>Implementations§
Source§impl GetTaskByNameResponse
impl GetTaskByNameResponse
Sourcepub fn task_id(&self) -> &str
pub fn task_id(&self) -> &str
Returns the value of task_id, or the default value if task_id is unset.
Sourcepub fn operator_name(&self) -> &str
pub fn operator_name(&self) -> &str
Returns the value of operator_name, or the default value if operator_name is unset.
Sourcepub fn input_collection_id(&self) -> &str
pub fn input_collection_id(&self) -> &str
Returns the value of input_collection_id, or the default value if input_collection_id is unset.
Sourcepub fn output_collection_name(&self) -> &str
pub fn output_collection_name(&self) -> &str
Returns the value of output_collection_name, or the default value if output_collection_name is unset.
Sourcepub fn output_collection_id(&self) -> &str
pub fn output_collection_id(&self) -> &str
Returns the value of output_collection_id, or the default value if output_collection_id is unset.
Sourcepub fn completion_offset(&self) -> i64
pub fn completion_offset(&self) -> i64
Returns the value of completion_offset, or the default value if completion_offset is unset.
Sourcepub fn min_records_for_task(&self) -> u64
pub fn min_records_for_task(&self) -> u64
Returns the value of min_records_for_task, or the default value if min_records_for_task is unset.
Sourcepub fn tenant_id(&self) -> &str
pub fn tenant_id(&self) -> &str
Returns the value of tenant_id, or the default value if tenant_id is unset.
Sourcepub fn database_id(&self) -> &str
pub fn database_id(&self) -> &str
Returns the value of database_id, or the default value if database_id is unset.
Trait Implementations§
Source§impl Clone for GetTaskByNameResponse
impl Clone for GetTaskByNameResponse
Source§fn clone(&self) -> GetTaskByNameResponse
fn clone(&self) -> GetTaskByNameResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GetTaskByNameResponse
impl Debug for GetTaskByNameResponse
Source§impl Default for GetTaskByNameResponse
impl Default for GetTaskByNameResponse
Source§impl Message for GetTaskByNameResponse
impl Message for GetTaskByNameResponse
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for GetTaskByNameResponse
impl PartialEq for GetTaskByNameResponse
impl StructuralPartialEq for GetTaskByNameResponse
Auto Trait Implementations§
impl Freeze for GetTaskByNameResponse
impl RefUnwindSafe for GetTaskByNameResponse
impl Send for GetTaskByNameResponse
impl Sync for GetTaskByNameResponse
impl Unpin for GetTaskByNameResponse
impl UnwindSafe for GetTaskByNameResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::RequestSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§unsafe fn to_subset_unchecked(&self) -> SS
unsafe fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.