pub struct ListFlowsRequestOwnedView(/* private fields */);Expand description
Self-contained, 'static owned view of a ListFlowsRequest message.
Wraps ::buffa::OwnedView<ListFlowsRequestView<'static>>: the decoded view and the ::buffa::bytes::Bytes buffer it borrows from travel together, so the handle is 'static and Send + Sync — suitable for async handlers, spawned tasks, and anywhere a 'static bound is required.
Field accessors return borrows tied to &self. Use Self::view to get the full ListFlowsRequestView when you need struct patterns, iteration helpers, or to pass the view to lifetime-parameterised code.
Implementations§
Source§impl ListFlowsRequestOwnedView
impl ListFlowsRequestOwnedView
Sourcepub fn decode(bytes: Bytes) -> Result<Self, DecodeError>
pub fn decode(bytes: Bytes) -> Result<Self, DecodeError>
Decode an owned view from a ::buffa::bytes::Bytes buffer.
The view borrows directly from the buffer’s data; the buffer is retained inside the returned handle.
§Errors
Returns ::buffa::DecodeError if the buffer contains invalid
protobuf data.
Sourcepub fn decode_with_options(
bytes: Bytes,
opts: &DecodeOptions,
) -> Result<Self, DecodeError>
pub fn decode_with_options( bytes: Bytes, opts: &DecodeOptions, ) -> Result<Self, DecodeError>
Decode with custom ::buffa::DecodeOptions (recursion limit,
max message size).
§Errors
Returns ::buffa::DecodeError if the buffer is invalid or
exceeds the configured limits.
Sourcepub fn from_owned(msg: &ListFlowsRequest) -> Result<Self, DecodeError>
pub fn from_owned(msg: &ListFlowsRequest) -> Result<Self, DecodeError>
Build from an owned message via an encode → decode round-trip.
§Errors
Returns ::buffa::DecodeError if the re-encoded bytes are
somehow invalid (should not happen for well-formed messages).
Sourcepub fn view(&self) -> &ListFlowsRequestView<'_>
pub fn view(&self) -> &ListFlowsRequestView<'_>
Borrow the full ListFlowsRequestView with its lifetime tied to &self.
Sourcepub fn to_owned_message(&self) -> Result<ListFlowsRequest, DecodeError>
pub fn to_owned_message(&self) -> Result<ListFlowsRequest, DecodeError>
Convert to the owned message type.
§Errors
Returns an error if re-materializing preserved unknown fields fails (e.g. the unknown-field limit is exceeded).
Sourcepub fn into_bytes(self) -> Bytes
pub fn into_bytes(self) -> Bytes
Consume the handle, returning the underlying bytes buffer.
Sourcepub fn limit(&self) -> u32
pub fn limit(&self) -> u32
Maximum number of flows to return. Defaults to 100 when omitted; maximum is 500.
Field 1: limit
Sourcepub fn sort(&self) -> EnumValue<Sort>
pub fn sort(&self) -> EnumValue<Sort>
Sort direction for the selected ordering timestamp.
Field 2: sort
Sourcepub fn flow_kind(&self) -> EnumValue<FlowKind>
pub fn flow_kind(&self) -> EnumValue<FlowKind>
Optional product flow kind filter. Unspecified includes all kinds.
Field 3: flow_kind
Sourcepub fn flow_state(&self) -> EnumValue<FlowState>
pub fn flow_state(&self) -> EnumValue<FlowState>
Optional lifecycle state filter. Unspecified includes all states permitted by the selected scope.
Field 4: flow_state
Sourcepub fn tx_ref(&self) -> &str
pub fn tx_ref(&self) -> &str
Optional transaction reference filter. Matches source or latest activity transaction identifiers across supported chains.
Field 5: tx_ref
Sourcepub fn scope(&self) -> EnumValue<ListScope>
pub fn scope(&self) -> EnumValue<ListScope>
Selects open, terminal, or all lifecycle flows.
Field 6: scope
Sourcepub fn polyester_chain_ids(&self) -> &RepeatedView<'_, u32>
pub fn polyester_chain_ids(&self) -> &RepeatedView<'_, u32>
Optional Polyester Chain ids to include. Maximum 100 unique ids.
Field 9: polyester_chain_ids
Sourcepub fn zipped_asset_ids(&self) -> &RepeatedView<'_, u32>
pub fn zipped_asset_ids(&self) -> &RepeatedView<'_, u32>
Optional chain asset mapping ids to include. Maximum 100 unique ids.
Field 10: zipped_asset_ids
Sourcepub fn unified_asset_ids(&self) -> &RepeatedView<'_, u32>
pub fn unified_asset_ids(&self) -> &RepeatedView<'_, u32>
Optional unified asset ids to include. Maximum 100 unique ids.
Field 11: unified_asset_ids
Sourcepub fn page_token(&self) -> &str
pub fn page_token(&self) -> &str
Opaque keyset cursor returned by a previous response. The cursor is exclusive and bound to the caller, filters, account selector, sort direction, and ordering timestamp.
Field 12: page_token
Sourcepub fn order_by(&self) -> EnumValue<ListOrderBy>
pub fn order_by(&self) -> EnumValue<ListOrderBy>
Timestamp used for ordering and pagination. Defaults to last activity.
Field 13: order_by
Sourcepub fn account_selector(&self) -> Option<&AccountSelector<'_>>
pub fn account_selector(&self) -> Option<&AccountSelector<'_>>
Oneof account_selector.
Trait Implementations§
Source§impl AsRef<OwnedView<ListFlowsRequestView<'static>>> for ListFlowsRequestOwnedView
impl AsRef<OwnedView<ListFlowsRequestView<'static>>> for ListFlowsRequestOwnedView
Source§fn as_ref(&self) -> &OwnedView<ListFlowsRequestView<'static>>
fn as_ref(&self) -> &OwnedView<ListFlowsRequestView<'static>>
Source§impl Clone for ListFlowsRequestOwnedView
impl Clone for ListFlowsRequestOwnedView
Source§fn clone(&self) -> ListFlowsRequestOwnedView
fn clone(&self) -> ListFlowsRequestOwnedView
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more