pub struct Shard {
pub parent_shard_id: Option<String>,
pub sequence_number_range: Option<SequenceNumberRange>,
pub shard_id: Option<String>,
}Expand description
A uniquely identified group of stream records within a stream.
Fields§
§parent_shard_id: Option<String>The shard ID of the current shard's parent.
sequence_number_range: Option<SequenceNumberRange>The range of possible sequence numbers for the shard.
shard_id: Option<String>The system-generated identifier for this shard.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Shard
impl<'de> Deserialize<'de> for Shard
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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Shard
Auto Trait Implementations§
impl Freeze for Shard
impl RefUnwindSafe for Shard
impl Send for Shard
impl Sync for Shard
impl Unpin for Shard
impl UnwindSafe for Shard
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
Mutably borrows from an owned value. Read more