pub struct FlowDefinitionUpload {
pub flow_type: String,
pub content: Vec<u8>,
pub generated_at: Option<Timestamp>,
}Expand description
One Flow Definition Graph (FDG 2.0) JSON document to store.
Fields§
§flow_type: StringFlow type that the document describes. It must equal flow.name in content, must not be empty, and must not exceed matching.maxFlowTypeLength bytes. Its percent-encoded object key, with the object store prefix, must fit in 1024 bytes.
content: Vec<u8>The FDG JSON document, at most flowDefinitions.maxDefinitionBytes. It must be a JSON object whose schemaVersion starts with “2.”, nested at most 128 levels deep. The server stores these exact bytes and returns them unchanged.
generated_at: Option<Timestamp>When the document was generated, normally the document’s generatedAt or the file modification time. Required, and within the protobuf Timestamp range. A newer generated_at replaces a stored document with a different digest. The server keeps microsecond precision and rejects a time more than 24 hours after its own clock.
Trait Implementations§
Source§impl Clone for FlowDefinitionUpload
impl Clone for FlowDefinitionUpload
Source§impl Debug for FlowDefinitionUpload
impl Debug for FlowDefinitionUpload
Source§impl Default for FlowDefinitionUpload
impl Default for FlowDefinitionUpload
impl Eq for FlowDefinitionUpload
Source§impl Hash for FlowDefinitionUpload
impl Hash for FlowDefinitionUpload
Source§impl Message for FlowDefinitionUpload
impl Message for FlowDefinitionUpload
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 FlowDefinitionUpload
impl PartialEq for FlowDefinitionUpload
impl StructuralPartialEq for FlowDefinitionUpload
Auto Trait Implementations§
impl Forget for FlowDefinitionUpload
impl Freeze for FlowDefinitionUpload
impl Move for FlowDefinitionUpload
impl RefUnwindSafe for FlowDefinitionUpload
impl Send for FlowDefinitionUpload
impl Sync for FlowDefinitionUpload
impl Unpin for FlowDefinitionUpload
impl UnsafeUnpin for FlowDefinitionUpload
impl UnwindSafe for FlowDefinitionUpload
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