pub struct FlowDefinitionUploadResult { /* private fields */ }Expand description
Describes the outcome of uploading one Flow definition and the document stored afterwards.
crate::Client::upload_flow_definitions returns one result for each uploaded document, in
request order. The stored digest and generation time describe the document that the Server
holds after the call. They differ from the uploaded document only for
FlowDefinitionUploadOutcome::KeptExisting.
Since 1.45.0.
Implementations§
Source§impl FlowDefinitionUploadResult
impl FlowDefinitionUploadResult
Sourcepub fn outcome(&self) -> FlowDefinitionUploadOutcome
pub fn outcome(&self) -> FlowDefinitionUploadOutcome
Returns what the Server did with the uploaded document.
Since 1.45.0.
Sourcepub fn stored_digest(&self) -> &str
pub fn stored_digest(&self) -> &str
Returns the lowercase hexadecimal SHA-256 digest of the document stored after the call.
Since 1.45.0.
Sourcepub fn stored_generated_at(&self) -> Option<SystemTime>
pub fn stored_generated_at(&self) -> Option<SystemTime>
Returns the generation time of the document stored after the call.
Returns the time at microsecond precision, or None when the Server did not report one
or it is outside the platform’s SystemTime range.
Since 1.45.0.
Trait Implementations§
Source§impl Clone for FlowDefinitionUploadResult
impl Clone for FlowDefinitionUploadResult
Source§impl Debug for FlowDefinitionUploadResult
impl Debug for FlowDefinitionUploadResult
impl Eq for FlowDefinitionUploadResult
impl StructuralPartialEq for FlowDefinitionUploadResult
Auto Trait Implementations§
impl Forget for FlowDefinitionUploadResult
impl Freeze for FlowDefinitionUploadResult
impl Move for FlowDefinitionUploadResult
impl RefUnwindSafe for FlowDefinitionUploadResult
impl Send for FlowDefinitionUploadResult
impl Sync for FlowDefinitionUploadResult
impl Unpin for FlowDefinitionUploadResult
impl UnsafeUnpin for FlowDefinitionUploadResult
impl UnwindSafe for FlowDefinitionUploadResult
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<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
key and return true if they are equal.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> 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::Request