pub struct Endpoint {
pub pk: Uuid,
pub name: String,
pub provider: i32,
pub provider_obj: Box<RacProvider>,
pub protocol: ProtocolEnum,
pub host: String,
pub settings: Option<Option<Value>>,
pub property_mappings: Option<Vec<Uuid>>,
pub auth_mode: AuthModeEnum,
pub launch_url: Option<String>,
pub maximum_connections: Option<i32>,
}
Expand description
Endpoint : Endpoint Serializer
Fields§
§pk: Uuid
§name: String
§provider: i32
§provider_obj: Box<RacProvider>
§protocol: ProtocolEnum
§host: String
§settings: Option<Option<Value>>
§property_mappings: Option<Vec<Uuid>>
§auth_mode: AuthModeEnum
§launch_url: Option<String>
Build actual launch URL (the provider itself does not have one, just individual endpoints)
maximum_connections: Option<i32>
Implementations§
Source§impl Endpoint
impl Endpoint
Sourcepub fn new(
pk: Uuid,
name: String,
provider: i32,
provider_obj: RacProvider,
protocol: ProtocolEnum,
host: String,
auth_mode: AuthModeEnum,
launch_url: Option<String>,
) -> Endpoint
pub fn new( pk: Uuid, name: String, provider: i32, provider_obj: RacProvider, protocol: ProtocolEnum, host: String, auth_mode: AuthModeEnum, launch_url: Option<String>, ) -> Endpoint
Endpoint Serializer
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Endpoint
impl<'de> Deserialize<'de> for Endpoint
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
impl StructuralPartialEq for Endpoint
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
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