Struct aws_sdk_neptunedata::operation::get_propertygraph_stream::GetPropertygraphStreamOutput
source · #[non_exhaustive]pub struct GetPropertygraphStreamOutput {
pub last_event_id: HashMap<String, String>,
pub last_trx_timestamp_in_millis: i64,
pub format: String,
pub records: Vec<PropertygraphRecord>,
pub total_records: i32,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.last_event_id: HashMap<String, String>
Sequence identifier of the last change in the stream response.
An event ID is composed of two fields: a commitNum
, which identifies a transaction that changed the graph, and an opNum
, which identifies a specific operation within that transaction:
last_trx_timestamp_in_millis: i64
The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.
format: String
Serialization format for the change records being returned. Currently, the only supported value is PG_JSON
.
records: Vec<PropertygraphRecord>
An array of serialized change-log stream records included in the response.
total_records: i32
The total number of records in the response.
Implementations§
source§impl GetPropertygraphStreamOutput
impl GetPropertygraphStreamOutput
sourcepub fn last_event_id(&self) -> &HashMap<String, String>
pub fn last_event_id(&self) -> &HashMap<String, String>
Sequence identifier of the last change in the stream response.
An event ID is composed of two fields: a commitNum
, which identifies a transaction that changed the graph, and an opNum
, which identifies a specific operation within that transaction:
sourcepub fn last_trx_timestamp_in_millis(&self) -> i64
pub fn last_trx_timestamp_in_millis(&self) -> i64
The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.
sourcepub fn format(&self) -> &str
pub fn format(&self) -> &str
Serialization format for the change records being returned. Currently, the only supported value is PG_JSON
.
sourcepub fn records(&self) -> &[PropertygraphRecord]
pub fn records(&self) -> &[PropertygraphRecord]
An array of serialized change-log stream records included in the response.
sourcepub fn total_records(&self) -> i32
pub fn total_records(&self) -> i32
The total number of records in the response.
source§impl GetPropertygraphStreamOutput
impl GetPropertygraphStreamOutput
sourcepub fn builder() -> GetPropertygraphStreamOutputBuilder
pub fn builder() -> GetPropertygraphStreamOutputBuilder
Creates a new builder-style object to manufacture GetPropertygraphStreamOutput
.
Trait Implementations§
source§impl Clone for GetPropertygraphStreamOutput
impl Clone for GetPropertygraphStreamOutput
source§fn clone(&self) -> GetPropertygraphStreamOutput
fn clone(&self) -> GetPropertygraphStreamOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetPropertygraphStreamOutput
impl Debug for GetPropertygraphStreamOutput
source§impl PartialEq for GetPropertygraphStreamOutput
impl PartialEq for GetPropertygraphStreamOutput
source§fn eq(&self, other: &GetPropertygraphStreamOutput) -> bool
fn eq(&self, other: &GetPropertygraphStreamOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetPropertygraphStreamOutput
impl RequestId for GetPropertygraphStreamOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetPropertygraphStreamOutput
Auto Trait Implementations§
impl Freeze for GetPropertygraphStreamOutput
impl RefUnwindSafe for GetPropertygraphStreamOutput
impl Send for GetPropertygraphStreamOutput
impl Sync for GetPropertygraphStreamOutput
impl Unpin for GetPropertygraphStreamOutput
impl UnwindSafe for GetPropertygraphStreamOutput
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> 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 more