pub struct OutpostRequest {
pub name: String,
pub type: OutpostTypeEnum,
pub providers: Vec<i32>,
pub service_connection: Option<Option<Uuid>>,
pub config: HashMap<String, Value>,
pub managed: Option<Option<String>>,
}
Expand description
OutpostRequest : Outpost Serializer
Fields§
§name: String
§type: OutpostTypeEnum
§providers: Vec<i32>
§service_connection: Option<Option<Uuid>>
Select Service-Connection authentik should use to manage this outpost. Leave empty if authentik should not handle the deployment.
config: HashMap<String, Value>
§managed: Option<Option<String>>
Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
Implementations§
Source§impl OutpostRequest
impl OutpostRequest
Sourcepub fn new(
name: String,
type: OutpostTypeEnum,
providers: Vec<i32>,
config: HashMap<String, Value>,
) -> OutpostRequest
pub fn new( name: String, type: OutpostTypeEnum, providers: Vec<i32>, config: HashMap<String, Value>, ) -> OutpostRequest
Outpost Serializer
Trait Implementations§
Source§impl Clone for OutpostRequest
impl Clone for OutpostRequest
Source§fn clone(&self) -> OutpostRequest
fn clone(&self) -> OutpostRequest
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 OutpostRequest
impl Debug for OutpostRequest
Source§impl Default for OutpostRequest
impl Default for OutpostRequest
Source§fn default() -> OutpostRequest
fn default() -> OutpostRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutpostRequest
impl<'de> Deserialize<'de> for OutpostRequest
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 OutpostRequest
impl PartialEq for OutpostRequest
Source§impl Serialize for OutpostRequest
impl Serialize for OutpostRequest
impl StructuralPartialEq for OutpostRequest
Auto Trait Implementations§
impl Freeze for OutpostRequest
impl RefUnwindSafe for OutpostRequest
impl Send for OutpostRequest
impl Sync for OutpostRequest
impl Unpin for OutpostRequest
impl UnwindSafe for OutpostRequest
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