pub struct ContentResolveRequest {
pub content_ref: ContentRef,
pub requested_version: ContentVersion,
}Expand description
Carries the content resolve request record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
Fields§
§content_ref: ContentRefContent reference where payload bytes or structured tool output are stored.
requested_version: ContentVersionVersion string for this capability, package, or protocol surface. Use it for compatibility checks during package or adapter resolution.
Implementations§
Source§impl ContentResolveRequest
impl ContentResolveRequest
Sourcepub fn new(content_ref: ContentRef) -> Self
pub fn new(content_ref: ContentRef) -> Self
Creates a new records::content value with explicit caller-provided inputs. This constructor is data-only and performs no I/O or external side effects.
Trait Implementations§
Source§impl Clone for ContentResolveRequest
impl Clone for ContentResolveRequest
Source§fn clone(&self) -> ContentResolveRequest
fn clone(&self) -> ContentResolveRequest
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 ContentResolveRequest
impl Debug for ContentResolveRequest
Source§impl<'de> Deserialize<'de> for ContentResolveRequest
impl<'de> Deserialize<'de> for ContentResolveRequest
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
Source§impl PartialEq for ContentResolveRequest
impl PartialEq for ContentResolveRequest
Source§fn eq(&self, other: &ContentResolveRequest) -> bool
fn eq(&self, other: &ContentResolveRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContentResolveRequest
impl Serialize for ContentResolveRequest
impl Eq for ContentResolveRequest
impl StructuralPartialEq for ContentResolveRequest
Auto Trait Implementations§
impl Freeze for ContentResolveRequest
impl RefUnwindSafe for ContentResolveRequest
impl Send for ContentResolveRequest
impl Sync for ContentResolveRequest
impl Unpin for ContentResolveRequest
impl UnsafeUnpin for ContentResolveRequest
impl UnwindSafe for ContentResolveRequest
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