pub struct RegisterParams {Show 25 fields
pub id: String,
pub name: String,
pub contact_id: String,
pub email: String,
pub password: String,
pub parent_organization_id: String,
pub code: String,
pub categories: Vec<String>,
pub account_status: String,
pub account_type: i32,
pub organization_name: String,
pub organization_id: String,
pub account_id: String,
pub account_secret: String,
pub is_new_user: bool,
pub first_name: String,
pub last_name: String,
pub is_invited: bool,
pub role_id: String,
pub account_organization_status: String,
pub account_organization_categories: Vec<String>,
pub account_organization_id: String,
pub contact_categories: Vec<String>,
pub device_categories: Vec<String>,
pub responsible_account_organization_id: String,
}Fields§
§id: StringTo be deprecated
name: String§contact_id: String§email: String§password: String§parent_organization_id: String§code: String§categories: Vec<String>§account_status: String§account_type: i32§organization_name: String§organization_id: String§account_id: String§account_secret: String§is_new_user: bool§first_name: String§last_name: String§is_invited: bool§role_id: String§account_organization_status: String§account_organization_categories: Vec<String>§account_organization_id: String§contact_categories: Vec<String>§device_categories: Vec<String>§responsible_account_organization_id: StringImplementations§
Source§impl RegisterParams
impl RegisterParams
Sourcepub fn account_type(&self) -> AccountType
pub fn account_type(&self) -> AccountType
Returns the enum value of account_type, or the default if the field is set to an invalid enum value.
Sourcepub fn set_account_type(&mut self, value: AccountType)
pub fn set_account_type(&mut self, value: AccountType)
Sets account_type to the provided enum value.
Trait Implementations§
Source§impl Clone for RegisterParams
impl Clone for RegisterParams
Source§fn clone(&self) -> RegisterParams
fn clone(&self) -> RegisterParams
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegisterParams
impl Debug for RegisterParams
Source§impl Default for RegisterParams
impl Default for RegisterParams
Source§impl Message for RegisterParams
impl Message for RegisterParams
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
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,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for RegisterParams
impl PartialEq for RegisterParams
impl StructuralPartialEq for RegisterParams
Auto Trait Implementations§
impl Freeze for RegisterParams
impl RefUnwindSafe for RegisterParams
impl Send for RegisterParams
impl Sync for RegisterParams
impl Unpin for RegisterParams
impl UnwindSafe for RegisterParams
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
Mutably borrows from an owned value. Read more
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>
Wrap the input message
T in a tonic::Request