pub struct FlowSummaryView {Show 29 fields
pub owner_account_id: u64,
pub smart_account_address: String,
pub flow_id: String,
pub flow_kind: EnumValue<FlowKind>,
pub current_step: EnumValue<FlowStep>,
pub asset_ids: MessageField<AssetIds>,
pub polyester_chain_id: u32,
pub amount_e18: MessageField<U128>,
pub request_fee: MessageField<RequestFee>,
pub source_tx_hash: String,
pub tx_occurrence_index: u64,
pub source_address: String,
pub destination_address: String,
pub latest_tx_ref: String,
pub source_domain: EnumValue<FlowDomain>,
pub destination_domain: EnumValue<FlowDomain>,
pub latest_lifecycle_source: EnumValue<LifecycleSource>,
pub lifecycle_reason: EnumValue<LifecycleReason>,
pub zipper_reason: MessageField<ZipperReasonDetails>,
pub started_at_unix_ms: u64,
pub updated_at_unix_ms: u64,
pub terminal_at_unix_ms: u64,
pub last_activity_at_unix_ms: u64,
pub is_open: bool,
pub is_terminal: bool,
pub current_step_sequence: u32,
pub current_progress: MessageField<FlowSummaryProgressView>,
pub progress_timeline: Vec<FlowTimelineItemView>,
pub estimated_completion_unix_ms: u64,
/* private fields */
}Expand description
FlowSummaryView is the compact lifecycle representation used by lists, realtime updates, and the header of a detail view.
Fields§
§owner_account_id: u64Public account identifier for the root account or subaccount the flow belongs to.
Field 1: owner_account_id
smart_account_address: StringSmart-account address for the account the flow belongs to. This is the
stable address selector equivalent of owner_account_id; do not derive it
from source or destination display addresses.
Field 34: smart_account_address
flow_id: StringPublic, URL-safe lifecycle identifier for display, URLs, and user search.
Field 33: flow_id
flow_kind: EnumValue<FlowKind>Product flow family.
Field 4: flow_kind
current_step: EnumValue<FlowStep>Current user-facing progress step for this flow. This may be derived from the flow state before a matching factual observed step exists.
Field 6: current_step
asset_ids: MessageField<AssetIds>Asset identifiers involved in the flow.
Field 7: asset_ids
polyester_chain_id: u32Polyester Chain id associated with this flow when known.
Field 8: polyester_chain_id
amount_e18: MessageField<U128>Gross principal amount for the flow in 18-decimal unified asset units. Request fees are exposed separately in request_fee. Specific fulfillment steps may carry a net movement amount when the step represents external delivery.
Field 9: amount_e18
request_fee: MessageField<RequestFee>Request-scoped fee details when a fee applies and should be visible for the current step.
Field 28: request_fee
source_tx_hash: StringFirst observed source transaction hash for the flow when known.
Field 11: source_tx_hash
tx_occurrence_index: u64Stable occurrence discriminator within a transaction. For source-chain deposits this is the batched leg index; for on-chain facts it is the log or equivalent per-tx occurrence index when available.
Field 32: tx_occurrence_index
source_address: StringSource address to show for the overall flow. For internal transfers this is the source smart account address.
Field 13: source_address
destination_address: StringDestination address to show for the overall flow. For internal transfers this is the destination smart account address.
Field 14: destination_address
latest_tx_ref: StringLatest transaction reference associated with the current visible state.
Field 15: latest_tx_ref
source_domain: EnumValue<FlowDomain>Product domain where the overall flow starts. Use with
destination_domain for route labels such as Funding to Trading.
Field 29: source_domain
destination_domain: EnumValue<FlowDomain>Product domain where the overall flow ends or currently settles. Do not derive route labels from per-step settlement activity.
Field 30: destination_domain
latest_lifecycle_source: EnumValue<LifecycleSource>Provenance of the latest meaningful lifecycle activity reflected in this summary. This is not necessarily the source of the entire flow.
Field 16: latest_lifecycle_source
lifecycle_reason: EnumValue<LifecycleReason>Product-facing reason for failed, dropped, or otherwise notable flows.
Field 17: lifecycle_reason
zipper_reason: MessageField<ZipperReasonDetails>Specific reason details when a notable outcome has a catalog entry.
Field 35: zipper_reason
started_at_unix_ms: u64First observed business timestamp in milliseconds since epoch (UTC).
Field 18: started_at_unix_ms
updated_at_unix_ms: u64Last summary update timestamp in milliseconds since epoch (UTC).
Field 19: updated_at_unix_ms
terminal_at_unix_ms: u64Terminal timestamp in milliseconds since epoch (UTC), or zero while open.
Field 20: terminal_at_unix_ms
last_activity_at_unix_ms: u64Timestamp used for list ordering in milliseconds since epoch (UTC).
Field 21: last_activity_at_unix_ms
is_open: boolTrue when the flow is still progressing.
Field 22: is_open
is_terminal: boolTrue when the flow reached a final state.
Field 23: is_terminal
current_step_sequence: u32One-based sequence of current_step in progress_timeline.
Field 24: current_step_sequence
current_progress: MessageField<FlowSummaryProgressView>Progress data for the current visible step when the flow is open.
Field 25: current_progress
progress_timeline: Vec<FlowTimelineItemView>Progress-bar timeline for list/header UI. This timeline may include a current derived step that is ahead of the latest factual observed step.
Field 26: progress_timeline
estimated_completion_unix_ms: u64Estimated Unix completion timestamp in milliseconds.
Field 27: estimated_completion_unix_ms
Implementations§
Trait Implementations§
Source§impl Clone for FlowSummaryView
impl Clone for FlowSummaryView
Source§fn clone(&self) -> FlowSummaryView
fn clone(&self) -> FlowSummaryView
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FlowSummaryView
impl Debug for FlowSummaryView
Source§impl Default for FlowSummaryView
impl Default for FlowSummaryView
Source§fn default() -> FlowSummaryView
fn default() -> FlowSummaryView
Source§impl DefaultInstance for FlowSummaryView
impl DefaultInstance for FlowSummaryView
Source§fn default_instance() -> &'static Self
fn default_instance() -> &'static Self
Source§impl<'de> Deserialize<'de> for FlowSummaryViewwhere
FlowSummaryView: Default,
impl<'de> Deserialize<'de> for FlowSummaryViewwhere
FlowSummaryView: Default,
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 ExtensionSet for FlowSummaryView
impl ExtensionSet for FlowSummaryView
Source§const PROTO_FQN: &'static str = "chain.lifecycle.v1.FlowSummaryView"
const PROTO_FQN: &'static str = "chain.lifecycle.v1.FlowSummaryView"
"google.protobuf.FieldOptions". Read moreSource§fn unknown_fields(&self) -> &UnknownFields
fn unknown_fields(&self) -> &UnknownFields
Source§fn unknown_fields_mut(&mut self) -> &mut UnknownFields
fn unknown_fields_mut(&mut self) -> &mut UnknownFields
Source§fn extension<C>(&self, ext: &Extension<C>) -> <C as ExtensionCodec>::Outputwhere
C: ExtensionCodec,
fn extension<C>(&self, ext: &Extension<C>) -> <C as ExtensionCodec>::Outputwhere
C: ExtensionCodec,
Source§fn set_extension<C>(
&mut self,
ext: &Extension<C>,
value: <C as ExtensionCodec>::Value,
)where
C: ExtensionCodec,
fn set_extension<C>(
&mut self,
ext: &Extension<C>,
value: <C as ExtensionCodec>::Value,
)where
C: ExtensionCodec,
Source§fn has_extension<C>(&self, ext: &Extension<C>) -> boolwhere
C: ExtensionCodec,
fn has_extension<C>(&self, ext: &Extension<C>) -> boolwhere
C: ExtensionCodec,
true if any record at the extension’s field number is present. Read moreSource§fn clear_extension<C>(&mut self, ext: &Extension<C>)where
C: ExtensionCodec,
fn clear_extension<C>(&mut self, ext: &Extension<C>)where
C: ExtensionCodec,
Source§fn extension_or_default<C>(
&self,
ext: &Extension<C>,
) -> <C as ExtensionCodec>::Valuewhere
C: ExtensionCodec<Output = Option<<C as ExtensionCodec>::Value>>,
<C as ExtensionCodec>::Value: Default,
fn extension_or_default<C>(
&self,
ext: &Extension<C>,
) -> <C as ExtensionCodec>::Valuewhere
C: ExtensionCodec<Output = Option<<C as ExtensionCodec>::Value>>,
<C as ExtensionCodec>::Value: Default,
[default = ...]
value if absent, or the type’s Default if no proto default was declared. Read moreSource§impl HasMessageView for FlowSummaryView
impl HasMessageView for FlowSummaryView
Source§type View<'a> = FlowSummaryViewView<'a>
type View<'a> = FlowSummaryViewView<'a>
Self, borrowing from a buffer with lifetime
'a.Source§type ViewHandle = FlowSummaryViewOwnedView
type ViewHandle = FlowSummaryViewOwnedView
'static owned-view handle for Self
(FooOwnedView).Source§fn decode_view(buf: &[u8]) -> Result<Self::View<'_>, DecodeError>
fn decode_view(buf: &[u8]) -> Result<Self::View<'_>, DecodeError>
Source§fn decode_view_with_options<'a>(
buf: &'a [u8],
opts: &DecodeOptions,
) -> Result<Self::View<'a>, DecodeError>
fn decode_view_with_options<'a>( buf: &'a [u8], opts: &DecodeOptions, ) -> Result<Self::View<'a>, DecodeError>
View under custom
DecodeOptions (recursion limit, max message
size, unknown-field limit). Read moreSource§fn decode_view_handle(bytes: Bytes) -> Result<Self::ViewHandle, DecodeError>
fn decode_view_handle(bytes: Bytes) -> Result<Self::ViewHandle, DecodeError>
Source§fn decode_view_handle_with_options(
bytes: Bytes,
opts: &DecodeOptions,
) -> Result<Self::ViewHandle, DecodeError>
fn decode_view_handle_with_options( bytes: Bytes, opts: &DecodeOptions, ) -> Result<Self::ViewHandle, DecodeError>
Source§impl Message for FlowSummaryView
impl Message for FlowSummaryView
Source§fn compute_size(&self, __cache: &mut SizeCache) -> u32
fn compute_size(&self, __cache: &mut SizeCache) -> u32
Returns the total encoded size in bytes.
The result is a u32; the protobuf specification requires all
messages to fit within 2 GiB (2,147,483,647 bytes), so a
compliant message will never overflow this type.
Source§fn write_to(&self, __cache: &mut SizeCache, buf: &mut impl BufMut)
fn write_to(&self, __cache: &mut SizeCache, buf: &mut impl BufMut)
cache (populated by a prior
compute_size call on the same cache). Read moreSource§fn merge_field(
&mut self,
tag: Tag,
buf: &mut impl Buf,
ctx: DecodeContext<'_>,
) -> Result<(), DecodeError>
fn merge_field( &mut self, tag: Tag, buf: &mut impl Buf, ctx: DecodeContext<'_>, ) -> Result<(), DecodeError>
buf. Read moreSource§fn encode(&self, buf: &mut impl BufMut)
fn encode(&self, buf: &mut impl BufMut)
Source§fn encode_with_cache(&self, cache: &mut SizeCache, buf: &mut impl BufMut)
fn encode_with_cache(&self, cache: &mut SizeCache, buf: &mut impl BufMut)
SizeCache, for
reuse across many encodes in a hot loop. Clears the cache first.Source§fn encoded_len(&self) -> u32
fn encoded_len(&self) -> u32
Source§fn encode_length_delimited(&self, buf: &mut impl BufMut)
fn encode_length_delimited(&self, buf: &mut impl BufMut)
Source§fn encode_to_bytes(&self) -> Bytes
fn encode_to_bytes(&self) -> Bytes
bytes::Bytes. Read moreSource§fn decode(buf: &mut impl Buf) -> Result<Self, DecodeError>where
Self: Sized,
fn decode(buf: &mut impl Buf) -> Result<Self, DecodeError>where
Self: Sized,
Source§fn decode_from_slice(data: &[u8]) -> Result<Self, DecodeError>where
Self: Sized,
fn decode_from_slice(data: &[u8]) -> Result<Self, DecodeError>where
Self: Sized,
Source§fn decode_length_delimited(buf: &mut impl Buf) -> Result<Self, DecodeError>where
Self: Sized,
fn decode_length_delimited(buf: &mut impl Buf) -> Result<Self, DecodeError>where
Self: Sized,
Source§fn merge_to_limit(
&mut self,
buf: &mut impl Buf,
ctx: DecodeContext<'_>,
limit: usize,
) -> Result<(), DecodeError>
fn merge_to_limit( &mut self, buf: &mut impl Buf, ctx: DecodeContext<'_>, limit: usize, ) -> Result<(), DecodeError>
Source§fn merge_group(
&mut self,
buf: &mut impl Buf,
ctx: DecodeContext<'_>,
field_number: u32,
) -> Result<(), DecodeError>
fn merge_group( &mut self, buf: &mut impl Buf, ctx: DecodeContext<'_>, field_number: u32, ) -> Result<(), DecodeError>
buf, reading fields until an
EndGroup tag with the given field_number is encountered. Read moreSource§fn merge(
&mut self,
buf: &mut impl Buf,
ctx: DecodeContext<'_>,
) -> Result<(), DecodeError>
fn merge( &mut self, buf: &mut impl Buf, ctx: DecodeContext<'_>, ) -> Result<(), DecodeError>
Source§fn merge_from_slice(&mut self, data: &[u8]) -> Result<(), DecodeError>
fn merge_from_slice(&mut self, data: &[u8]) -> Result<(), DecodeError>
Source§fn merge_length_delimited(
&mut self,
buf: &mut impl Buf,
ctx: DecodeContext<'_>,
) -> Result<(), DecodeError>
fn merge_length_delimited( &mut self, buf: &mut impl Buf, ctx: DecodeContext<'_>, ) -> Result<(), DecodeError>
Source§impl MessageName for FlowSummaryView
impl MessageName for FlowSummaryView
Source§const PACKAGE: &'static str = "chain.lifecycle.v1"
const PACKAGE: &'static str = "chain.lifecycle.v1"
Source§const NAME: &'static str = "FlowSummaryView"
const NAME: &'static str = "FlowSummaryView"
. between nesting levels. Read moreSource§impl PartialEq for FlowSummaryView
impl PartialEq for FlowSummaryView
Source§impl ProtoElemJson for FlowSummaryView
impl ProtoElemJson for FlowSummaryView
Source§fn serialize_proto_json<S: Serializer>(
v: &Self,
s: S,
) -> Result<S::Ok, S::Error>
fn serialize_proto_json<S: Serializer>( v: &Self, s: S, ) -> Result<S::Ok, S::Error>
Source§fn deserialize_proto_json<'de, D: Deserializer<'de>>(
d: D,
) -> Result<Self, D::Error>
fn deserialize_proto_json<'de, D: Deserializer<'de>>( d: D, ) -> Result<Self, D::Error>
Source§impl Serialize for FlowSummaryView
impl Serialize for FlowSummaryView
impl StructuralPartialEq for FlowSummaryView
Auto Trait Implementations§
impl Freeze for FlowSummaryView
impl RefUnwindSafe for FlowSummaryView
impl Send for FlowSummaryView
impl Sync for FlowSummaryView
impl Unpin for FlowSummaryView
impl UnsafeUnpin for FlowSummaryView
impl UnwindSafe for FlowSummaryView
Blanket Implementations§
Source§impl<T> AnyMessage for Twhere
T: Message + JsonSerialize + 'static,
impl<T> AnyMessage for Twhere
T: Message + JsonSerialize + 'static,
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
dyn Any for downcasting.Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Any> for owned downcasting. Read moreSource§fn encode(&self, format: CodecFormat) -> Result<Bytes, ConnectError>
fn encode(&self, format: CodecFormat) -> Result<Bytes, ConnectError>
Source§fn type_name(&self) -> &'static str
fn type_name(&self) -> &'static str
std::any::type_name.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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<M> Encodable<M> for Mwhere
M: Message + JsonSerialize,
impl<M> Encodable<M> for Mwhere
M: Message + JsonSerialize,
Source§fn encode(&self, codec: CodecFormat) -> Result<Bytes, ConnectError>
fn encode(&self, codec: CodecFormat) -> Result<Bytes, ConnectError>
self as wire bytes for M in the requested format.