pub struct DeepLinkImportRequest {Show 30 fields
pub version: String,
pub resource: String,
pub app: Option<String>,
pub name: Option<String>,
pub enabled: Option<bool>,
pub homepage: Option<String>,
pub endpoint: Option<String>,
pub api_key: Option<String>,
pub icon: Option<String>,
pub model: Option<String>,
pub notes: Option<String>,
pub haiku_model: Option<String>,
pub sonnet_model: Option<String>,
pub opus_model: Option<String>,
pub content: Option<String>,
pub description: Option<String>,
pub apps: Option<String>,
pub repo: Option<String>,
pub directory: Option<String>,
pub branch: Option<String>,
pub config: Option<String>,
pub config_format: Option<String>,
pub config_url: Option<String>,
pub usage_enabled: Option<bool>,
pub usage_script: Option<String>,
pub usage_api_key: Option<String>,
pub usage_base_url: Option<String>,
pub usage_access_token: Option<String>,
pub usage_user_id: Option<String>,
pub usage_auto_interval: Option<u64>,
/* private fields */
}Expand description
Deep link import request model.
This mirrors the upstream request model to keep URL parsing compatible.
Fields§
§version: String§resource: String§app: Option<String>§name: Option<String>§enabled: Option<bool>§homepage: Option<String>§endpoint: Option<String>§api_key: Option<String>§icon: Option<String>§model: Option<String>§notes: Option<String>§haiku_model: Option<String>§sonnet_model: Option<String>§opus_model: Option<String>§content: Option<String>§description: Option<String>§apps: Option<String>§repo: Option<String>§directory: Option<String>§branch: Option<String>§config: Option<String>§config_format: Option<String>§config_url: Option<String>§usage_enabled: Option<bool>§usage_script: Option<String>§usage_api_key: Option<String>§usage_base_url: Option<String>§usage_access_token: Option<String>§usage_user_id: Option<String>§usage_auto_interval: Option<u64>Trait Implementations§
Source§impl Clone for DeepLinkImportRequest
impl Clone for DeepLinkImportRequest
Source§fn clone(&self) -> DeepLinkImportRequest
fn clone(&self) -> DeepLinkImportRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeepLinkImportRequest
impl Debug for DeepLinkImportRequest
Source§impl<'de> Deserialize<'de> for DeepLinkImportRequest
impl<'de> Deserialize<'de> for DeepLinkImportRequest
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
Auto Trait Implementations§
impl Freeze for DeepLinkImportRequest
impl RefUnwindSafe for DeepLinkImportRequest
impl Send for DeepLinkImportRequest
impl Sync for DeepLinkImportRequest
impl Unpin for DeepLinkImportRequest
impl UnsafeUnpin for DeepLinkImportRequest
impl UnwindSafe for DeepLinkImportRequest
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more