pub struct UpdatePartyDetailsRequest {
pub party_details: Option<PartyDetails>,
pub update_mask: Option<FieldMask>,
}Expand description
Required authorization: HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(party_details.identity_provider_id)
Fields§
§party_details: Option<PartyDetails>Party to be updated Modifiable
Required
update_mask: Option<FieldMask>An update mask specifies how and which properties of the PartyDetails message are to be updated.
An update mask consists of a set of update paths.
A valid update path points to a field or a subfield relative to the PartyDetails message.
A valid update mask must:
- contain at least one update path,
- contain only valid update paths.
Fields that can be updated are marked as Modifiable.
An update path can also point to non-Modifiable fields such as ‘party’ and ‘local_metadata.resource_version’
because they are used:
- to identify the party details resource subject to the update,
- for concurrent change control.
An update path can also point to non-Modifiable fields such as ‘is_local’
as long as the values provided in the update request match the server values.
Examples of update paths: ‘local_metadata.annotations’, ‘local_metadata’.
For additional information see the documentation for standard protobuf3’s google.protobuf.FieldMask.
For similar Ledger API see com.daml.ledger.api.v2.admin.UpdateUserRequest.
Required
Trait Implementations§
Source§impl Clone for UpdatePartyDetailsRequest
impl Clone for UpdatePartyDetailsRequest
Source§fn clone(&self) -> UpdatePartyDetailsRequest
fn clone(&self) -> UpdatePartyDetailsRequest
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 UpdatePartyDetailsRequest
impl Debug for UpdatePartyDetailsRequest
Source§impl Default for UpdatePartyDetailsRequest
impl Default for UpdatePartyDetailsRequest
Source§fn default() -> UpdatePartyDetailsRequest
fn default() -> UpdatePartyDetailsRequest
Source§impl Message for UpdatePartyDetailsRequest
impl Message for UpdatePartyDetailsRequest
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.impl StructuralPartialEq for UpdatePartyDetailsRequest
Auto Trait Implementations§
impl Freeze for UpdatePartyDetailsRequest
impl RefUnwindSafe for UpdatePartyDetailsRequest
impl Send for UpdatePartyDetailsRequest
impl Sync for UpdatePartyDetailsRequest
impl Unpin for UpdatePartyDetailsRequest
impl UnsafeUnpin for UpdatePartyDetailsRequest
impl UnwindSafe for UpdatePartyDetailsRequest
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