pub struct AllocatePartyRequest {
pub party_id_hint: String,
pub local_metadata: Option<ObjectMeta>,
pub identity_provider_id: String,
pub synchronizer_id: String,
pub user_id: String,
}Expand description
Required authorization:
HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id) OR IsAuthenticatedUser(user_id)
Fields§
§party_id_hint: StringA hint to the participant which party ID to allocate. It can be
ignored.
Must be a valid PartyIdString (as described in value.proto).
Optional
local_metadata: Option<ObjectMeta>Participant-local metadata to be stored in the PartyDetails of this newly allocated party.
Optional
identity_provider_id: StringThe id of the Identity Provider
If not set, assume the party is managed by the default identity provider or party is not hosted by the participant.
Optional
synchronizer_id: StringThe synchronizer, on which the party should be allocated. For backwards compatibility, this field may be omitted, if the participant is connected to only one synchronizer. Otherwise a synchronizer must be specified.
Optional
user_id: StringThe user who will get the act_as rights to the newly allocated party. If set to an empty string (the default), no user will get rights to the party.
Optional
Trait Implementations§
Source§impl Clone for AllocatePartyRequest
impl Clone for AllocatePartyRequest
Source§fn clone(&self) -> AllocatePartyRequest
fn clone(&self) -> AllocatePartyRequest
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 AllocatePartyRequest
impl Debug for AllocatePartyRequest
Source§impl Default for AllocatePartyRequest
impl Default for AllocatePartyRequest
Source§fn default() -> AllocatePartyRequest
fn default() -> AllocatePartyRequest
Source§impl Message for AllocatePartyRequest
impl Message for AllocatePartyRequest
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 AllocatePartyRequest
impl PartialEq for AllocatePartyRequest
impl StructuralPartialEq for AllocatePartyRequest
Auto Trait Implementations§
impl Freeze for AllocatePartyRequest
impl RefUnwindSafe for AllocatePartyRequest
impl Send for AllocatePartyRequest
impl Sync for AllocatePartyRequest
impl Unpin for AllocatePartyRequest
impl UnsafeUnpin for AllocatePartyRequest
impl UnwindSafe for AllocatePartyRequest
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
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> 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