pub struct ParticipantSynchronizerPermission {
pub synchronizer_id: String,
pub participant_uid: String,
pub permission: i32,
pub limits: Option<ParticipantSynchronizerLimits>,
pub login_after: Option<i64>,
}Expand description
the optional trust certificate of the synchronizer towards the participant authorization: whoever controls the synchronizer id UNIQUE(synchronizer_id,participant)
Fields§
§synchronizer_id: String§participant_uid: String§permission: i32the permission level of the participant on this synchronizer (usually submission)
limits: Option<ParticipantSynchronizerLimits>optional individual limits for this participant
login_after: Option<i64>Optional earliest time when participant can log in (again). Used to temporarily disable participants. A participant cannot login before the sequencer has reached login_after, i.e., the sequencer must have produced an event with timestamp login_after. In microseconds of UTC time since Unix epoch
Implementations§
Source§impl ParticipantSynchronizerPermission
impl ParticipantSynchronizerPermission
Sourcepub fn permission(&self) -> ParticipantPermission
pub fn permission(&self) -> ParticipantPermission
Returns the enum value of permission, or the default if the field is set to an invalid enum value.
Sourcepub fn set_permission(&mut self, value: ParticipantPermission)
pub fn set_permission(&mut self, value: ParticipantPermission)
Sets permission to the provided enum value.
Sourcepub fn login_after(&self) -> i64
pub fn login_after(&self) -> i64
Returns the value of login_after, or the default value if login_after is unset.
Trait Implementations§
Source§impl Clone for ParticipantSynchronizerPermission
impl Clone for ParticipantSynchronizerPermission
Source§fn clone(&self) -> ParticipantSynchronizerPermission
fn clone(&self) -> ParticipantSynchronizerPermission
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ParticipantSynchronizerPermission
impl Default for ParticipantSynchronizerPermission
Source§fn default() -> ParticipantSynchronizerPermission
fn default() -> ParticipantSynchronizerPermission
impl Eq for ParticipantSynchronizerPermission
Source§impl Message for ParticipantSynchronizerPermission
impl Message for ParticipantSynchronizerPermission
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 ParticipantSynchronizerPermission
Auto Trait Implementations§
impl Freeze for ParticipantSynchronizerPermission
impl RefUnwindSafe for ParticipantSynchronizerPermission
impl Send for ParticipantSynchronizerPermission
impl Sync for ParticipantSynchronizerPermission
impl Unpin for ParticipantSynchronizerPermission
impl UnsafeUnpin for ParticipantSynchronizerPermission
impl UnwindSafe for ParticipantSynchronizerPermission
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<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<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