pub struct AddPartyArguments {
pub party_id: String,
pub synchronizer_id: String,
pub source_participant_uid: String,
pub topology_serial: u32,
pub participant_permission: i32,
}Fields§
§party_id: StringThe identifier of the party to be replicated.
Required
synchronizer_id: StringThe identifier of the synchronizer where the party will be replicated.
Required
source_participant_uid: StringThe unique identifier of a source participant already hosting the party.
Required
topology_serial: u32TODO(#31414): Remove: Either by inferring it internally or require record time (validFrom of the effective topology transaction) TODO(#31414): Ensure that it will work with offboarding and re-onboarding The serial number of the PartyToParticipant topology transaction. Maps the party to this target participant.
Required
participant_permission: i32TODO(#31414): Remove: Figure it out from the topology transaction The permission level of the party on the target participant.
Required
Implementations§
Source§impl AddPartyArguments
impl AddPartyArguments
Sourcepub fn participant_permission(&self) -> ParticipantPermission
pub fn participant_permission(&self) -> ParticipantPermission
Returns the enum value of participant_permission, or the default if the field is set to an invalid enum value.
Sourcepub fn set_participant_permission(&mut self, value: ParticipantPermission)
pub fn set_participant_permission(&mut self, value: ParticipantPermission)
Sets participant_permission to the provided enum value.
Trait Implementations§
Source§impl Clone for AddPartyArguments
impl Clone for AddPartyArguments
Source§fn clone(&self) -> AddPartyArguments
fn clone(&self) -> AddPartyArguments
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 AddPartyArguments
impl Debug for AddPartyArguments
Source§impl Default for AddPartyArguments
impl Default for AddPartyArguments
Source§fn default() -> AddPartyArguments
fn default() -> AddPartyArguments
impl Eq for AddPartyArguments
Source§impl Hash for AddPartyArguments
impl Hash for AddPartyArguments
Source§impl Message for AddPartyArguments
impl Message for AddPartyArguments
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 AddPartyArguments
impl PartialEq for AddPartyArguments
impl StructuralPartialEq for AddPartyArguments
Auto Trait Implementations§
impl Freeze for AddPartyArguments
impl RefUnwindSafe for AddPartyArguments
impl Send for AddPartyArguments
impl Sync for AddPartyArguments
impl Unpin for AddPartyArguments
impl UnsafeUnpin for AddPartyArguments
impl UnwindSafe for AddPartyArguments
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