pub struct StoredContent {
pub media_type: String,
pub bytes: Vec<u8>,
pub redacted_summary: String,
}Expand description
In-memory stored content fixture for SDK conformance tests. Use it to script deterministic behavior in memory; any transcript or endpoint mutation is documented on the method that performs it.
Fields§
§media_type: StringMedia type used by this record or request.
bytes: Vec<u8>Byte size or byte limit for bytes. Use it to enforce bounded reads, writes, summaries, or parser output.
redacted_summary: StringRedacted human-readable summary safe for events, telemetry, and logs.
Trait Implementations§
Source§impl Clone for StoredContent
impl Clone for StoredContent
Source§fn clone(&self) -> StoredContent
fn clone(&self) -> StoredContent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StoredContent
impl Debug for StoredContent
Source§impl PartialEq for StoredContent
impl PartialEq for StoredContent
Source§fn eq(&self, other: &StoredContent) -> bool
fn eq(&self, other: &StoredContent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StoredContent
impl StructuralPartialEq for StoredContent
Auto Trait Implementations§
impl Freeze for StoredContent
impl RefUnwindSafe for StoredContent
impl Send for StoredContent
impl Sync for StoredContent
impl Unpin for StoredContent
impl UnsafeUnpin for StoredContent
impl UnwindSafe for StoredContent
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