pub struct UploadDarFileRequest {
pub dar_file: Vec<u8>,
pub submission_id: String,
pub vetting_change: i32,
pub synchronizer_id: String,
}Fields§
§dar_file: Vec<u8>Contains a Daml archive DAR file, which in turn is a jar like zipped
container for daml_lf archives. See further details in
daml_lf.proto.
Required: must be non-empty
submission_id: StringUnique submission identifier. If not populated, a random identifier will be generated.
Optional
vetting_change: i32How to vet packages in the DAR being uploaded
Optional
synchronizer_id: StringOnly used if VettingChange is set to VETTING_CHANGE_VET_ALL_PACKAGES, in order to specify which synchronizer to vet on.
If synchronizer_id is set, the synchronizer with this ID will be used. If synchronizer_id is unset and the participant is only connected to a single synchronizer, that synchronizer will be used by default. If synchronizer_id is unset and the participant is connected to multiple synchronizers, the request will error out with PACKAGE_SERVICE_CANNOT_AUTODETECT_SYNCHRONIZER.
Optional
Implementations§
Source§impl UploadDarFileRequest
impl UploadDarFileRequest
Sourcepub fn vetting_change(&self) -> VettingChange
pub fn vetting_change(&self) -> VettingChange
Returns the enum value of vetting_change, or the default if the field is set to an invalid enum value.
Sourcepub fn set_vetting_change(&mut self, value: VettingChange)
pub fn set_vetting_change(&mut self, value: VettingChange)
Sets vetting_change to the provided enum value.
Trait Implementations§
Source§impl Clone for UploadDarFileRequest
impl Clone for UploadDarFileRequest
Source§fn clone(&self) -> UploadDarFileRequest
fn clone(&self) -> UploadDarFileRequest
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 UploadDarFileRequest
impl Debug for UploadDarFileRequest
Source§impl Default for UploadDarFileRequest
impl Default for UploadDarFileRequest
Source§fn default() -> UploadDarFileRequest
fn default() -> UploadDarFileRequest
impl Eq for UploadDarFileRequest
Source§impl Hash for UploadDarFileRequest
impl Hash for UploadDarFileRequest
Source§impl Message for UploadDarFileRequest
impl Message for UploadDarFileRequest
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 UploadDarFileRequest
impl PartialEq for UploadDarFileRequest
impl StructuralPartialEq for UploadDarFileRequest
Auto Trait Implementations§
impl Freeze for UploadDarFileRequest
impl RefUnwindSafe for UploadDarFileRequest
impl Send for UploadDarFileRequest
impl Sync for UploadDarFileRequest
impl Unpin for UploadDarFileRequest
impl UnsafeUnpin for UploadDarFileRequest
impl UnwindSafe for UploadDarFileRequest
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::RequestSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request