pub struct CreateParams {
pub provider: String,
pub client_secret: String,
pub client_id: Option<String>,
pub cloud_id: Option<String>,
pub tenant_id: Option<String>,
}Fields§
§provider: StringWhich provider: one of falcon, intune, jamfpro, kandji,
kolide or sentinelone.
client_secret: StringThe provider’s client secret. Sent to the control plane and never returned by it, so keep a copy if you need one.
client_id: Option<String>The provider’s client identifier, where it issues one.
cloud_id: Option<String>Which of the provider’s clouds — us-1 or eu-1 for Falcon, a region
for Intune. Leave unset for a provider that has one.
tenant_id: Option<String>Intune’s directory (tenant) identifier. Not used by any other provider.
Trait Implementations§
Source§impl Debug for CreateParams
Written rather than derived, so that the secret is not printed.
impl Debug for CreateParams
Written rather than derived, so that the secret is not printed.
missing_debug_implementations means these need a Debug, and the derived
one would print the credential a caller just handed us. Every other field is
shown, because a redacted struct nobody can read is its own problem.
Source§impl<'de> Deserialize<'de> for CreateParams
impl<'de> Deserialize<'de> for CreateParams
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 JsonSchema for CreateParams
impl JsonSchema for CreateParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for CreateParams
impl RefUnwindSafe for CreateParams
impl Send for CreateParams
impl Sync for CreateParams
impl Unpin for CreateParams
impl UnsafeUnpin for CreateParams
impl UnwindSafe for CreateParams
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