pub struct PatchedTelegramSourceRequest {Show 14 fields
pub name: Option<String>,
pub slug: Option<String>,
pub enabled: Option<bool>,
pub authentication_flow: Option<Option<Uuid>>,
pub enrollment_flow: Option<Option<Uuid>>,
pub user_property_mappings: Option<Vec<Uuid>>,
pub group_property_mappings: Option<Vec<Uuid>>,
pub policy_engine_mode: Option<PolicyEngineMode>,
pub user_matching_mode: Option<UserMatchingModeEnum>,
pub user_path_template: Option<String>,
pub bot_username: Option<String>,
pub bot_token: Option<String>,
pub request_message_access: Option<bool>,
pub pre_authentication_flow: Option<Uuid>,
}Expand description
PatchedTelegramSourceRequest : Source Serializer
Fields§
§name: Option<String>Source’s display Name.
slug: Option<String>Internal source name, used in URLs.
enabled: Option<bool>§authentication_flow: Option<Option<Uuid>>Flow to use when authenticating existing users.
enrollment_flow: Option<Option<Uuid>>Flow to use when enrolling new users.
user_property_mappings: Option<Vec<Uuid>>§group_property_mappings: Option<Vec<Uuid>>§policy_engine_mode: Option<PolicyEngineMode>§user_matching_mode: Option<UserMatchingModeEnum>How the source determines if an existing user should be authenticated or a new user enrolled.
user_path_template: Option<String>§bot_username: Option<String>Telegram bot username
bot_token: Option<String>Telegram bot token
request_message_access: Option<bool>Request access to send messages from your bot.
pre_authentication_flow: Option<Uuid>Flow used before authentication.
Implementations§
Source§impl PatchedTelegramSourceRequest
impl PatchedTelegramSourceRequest
Sourcepub fn new() -> PatchedTelegramSourceRequest
pub fn new() -> PatchedTelegramSourceRequest
Source Serializer
Trait Implementations§
Source§impl Clone for PatchedTelegramSourceRequest
impl Clone for PatchedTelegramSourceRequest
Source§fn clone(&self) -> PatchedTelegramSourceRequest
fn clone(&self) -> PatchedTelegramSourceRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PatchedTelegramSourceRequest
impl Debug for PatchedTelegramSourceRequest
Source§impl Default for PatchedTelegramSourceRequest
impl Default for PatchedTelegramSourceRequest
Source§fn default() -> PatchedTelegramSourceRequest
fn default() -> PatchedTelegramSourceRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedTelegramSourceRequest
impl<'de> Deserialize<'de> for PatchedTelegramSourceRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PatchedTelegramSourceRequest
impl PartialEq for PatchedTelegramSourceRequest
Source§fn eq(&self, other: &PatchedTelegramSourceRequest) -> bool
fn eq(&self, other: &PatchedTelegramSourceRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedTelegramSourceRequest
Auto Trait Implementations§
impl Freeze for PatchedTelegramSourceRequest
impl RefUnwindSafe for PatchedTelegramSourceRequest
impl Send for PatchedTelegramSourceRequest
impl Sync for PatchedTelegramSourceRequest
impl Unpin for PatchedTelegramSourceRequest
impl UnwindSafe for PatchedTelegramSourceRequest
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