pub struct PublishContentOpen {
pub thread: Option<ThreadRef>,
pub revision: Option<RevisionRef>,
pub sharing_policy_version: Vec<u8>,
pub packs: Vec<PackExtent>,
pub checkpoint: Option<TransferCheckpoint>,
pub source: Option<EndpointRef>,
pub destination: Option<EndpointRef>,
pub semantic_indexes: Vec<SemanticIndexPublication>,
pub protocol: Option<ProtocolCompatibility>,
pub import_authority: Option<ImportPublicProofBundleV1>,
}Expand description
Bulk content availability for an already admitted Thread capture. Metadata replication owns causal heads; uploading bytes cannot select or replace one. The opening PoP binds the exact Thread/revision, policy, complete pack/index addresses and lengths, operation identity, and any resume checkpoint.
Fields§
§thread: Option<ThreadRef>§revision: Option<RevisionRef>§sharing_policy_version: Vec<u8>§packs: Vec<PackExtent>Complete pack/index objects: offset is zero and length is the whole object. The server validates hashes and the exact authorized source closure before installation. Extra context, forensic objects, or history are not admitted merely because they were included in a source pack.
checkpoint: Option<TransferCheckpoint>§source: Option<EndpointRef>Bound by the opening proof and checked against the authenticated transport. A proof for one receiver cannot be forwarded to publish at another.
destination: Option<EndpointRef>§semantic_indexes: Vec<SemanticIndexPublication>Optional explicit admission of client SemanticIndex closure. Empty preserves source-only transfer. The opening proof and plan bind this complete manifest; Finish atomically installs source, attachment, closure and lookup/projections. Over-limit decode/walk fails with typed RESOURCE_EXHAUSTED, never partial installation. Only exactly declared semantic extras may enter source packs.
protocol: Option<ProtocolCompatibility>Trait Implementations§
Source§impl Clone for PublishContentOpen
impl Clone for PublishContentOpen
Source§fn clone(&self) -> PublishContentOpen
fn clone(&self) -> PublishContentOpen
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PublishContentOpen
impl Debug for PublishContentOpen
Source§impl Default for PublishContentOpen
impl Default for PublishContentOpen
Source§fn default() -> PublishContentOpen
fn default() -> PublishContentOpen
Source§impl Message for PublishContentOpen
impl Message for PublishContentOpen
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for PublishContentOpen
impl PartialEq for PublishContentOpen
impl StructuralPartialEq for PublishContentOpen
Auto Trait Implementations§
impl Freeze for PublishContentOpen
impl RefUnwindSafe for PublishContentOpen
impl Send for PublishContentOpen
impl Sync for PublishContentOpen
impl Unpin for PublishContentOpen
impl UnsafeUnpin for PublishContentOpen
impl UnwindSafe for PublishContentOpen
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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