pub struct CommitImportJobRequest {
pub client_operation_id: String,
pub destination: Option<SpoolRef>,
pub proof: Option<ImportPublicProofBundleV1>,
pub source: Option<ProviderRepository>,
pub initial_base_state: Vec<u8>,
}Expand description
Prepare -> sign -> Commit is sufficient for a new HYBRID import. Defined here to reuse ProviderRepository without an import cycle. Proof originals and the signed ordered branch manifest are the ONLY branch carrier. Maximum decoded protobuf request size: 2 MiB (2097152 bytes), inclusive; proof <=1 MiB (1048576 bytes), inclusive. Enforce the whole uncompressed payload bound before decoding, and the decoded message bound before admission.
Fields§
§client_operation_id: String§destination: Option<SpoolRef>§proof: Option<ImportPublicProofBundleV1>Exactly one initial delegation; select the HOST-STORED reservation by its delegation ID. Original geneses/envelopes/bindings match the signed manifest.
source: Option<ProviderRepository>Required, same public URL / connected-provider validation as source import. Resolve current authorized connection/repository/installation, and bind its provider + clone_url to the signed scope before custody selection.
initial_base_state: Vec<u8>Optional canonical synthetic empty State, <=4096 bytes; its native identity MUST equal the base in EVERY proof original genesis. Otherwise the exact base closure must already be hosted. Nonempty closures use SyncService.
Trait Implementations§
Source§impl Clone for CommitImportJobRequest
impl Clone for CommitImportJobRequest
Source§fn clone(&self) -> CommitImportJobRequest
fn clone(&self) -> CommitImportJobRequest
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 CommitImportJobRequest
impl Debug for CommitImportJobRequest
Source§impl Default for CommitImportJobRequest
impl Default for CommitImportJobRequest
Source§fn default() -> CommitImportJobRequest
fn default() -> CommitImportJobRequest
Source§impl Message for CommitImportJobRequest
impl Message for CommitImportJobRequest
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 CommitImportJobRequest
impl PartialEq for CommitImportJobRequest
impl StructuralPartialEq for CommitImportJobRequest
Auto Trait Implementations§
impl Freeze for CommitImportJobRequest
impl RefUnwindSafe for CommitImportJobRequest
impl Send for CommitImportJobRequest
impl Sync for CommitImportJobRequest
impl Unpin for CommitImportJobRequest
impl UnsafeUnpin for CommitImportJobRequest
impl UnwindSafe for CommitImportJobRequest
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