pub struct InternalSummaryCheckpoint { /* private fields */ }Implementations§
Source§impl InternalSummaryCheckpoint
impl InternalSummaryCheckpoint
pub fn new( summary: String, invocation_id: InternalAgentInvocationId, internal_run_id: InternalAgentRunId, max: SummaryByteLimit, ) -> Result<Self, EventSchemaError>
pub fn summary(&self) -> &str
pub const fn byte_length(&self) -> u64
Trait Implementations§
Source§impl Clone for InternalSummaryCheckpoint
impl Clone for InternalSummaryCheckpoint
Source§fn clone(&self) -> InternalSummaryCheckpoint
fn clone(&self) -> InternalSummaryCheckpoint
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 InternalSummaryCheckpoint
impl Debug for InternalSummaryCheckpoint
Source§impl<'de> Deserialize<'de> for InternalSummaryCheckpoint
impl<'de> Deserialize<'de> for InternalSummaryCheckpoint
Source§fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InternalSummaryCheckpoint
Source§impl JsonSchema for InternalSummaryCheckpoint
impl JsonSchema for InternalSummaryCheckpoint
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for InternalSummaryCheckpoint
impl PartialEq for InternalSummaryCheckpoint
Source§fn eq(&self, other: &InternalSummaryCheckpoint) -> bool
fn eq(&self, other: &InternalSummaryCheckpoint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InternalSummaryCheckpoint
Auto Trait Implementations§
impl Freeze for InternalSummaryCheckpoint
impl RefUnwindSafe for InternalSummaryCheckpoint
impl Send for InternalSummaryCheckpoint
impl Sync for InternalSummaryCheckpoint
impl Unpin for InternalSummaryCheckpoint
impl UnsafeUnpin for InternalSummaryCheckpoint
impl UnwindSafe for InternalSummaryCheckpoint
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