pub struct CrossAppConnection {
pub provider_app_custom_api_url: Option<String>,
pub provider_app_custom_auth_authorize_url: Option<String>,
pub provider_app_custom_auth_transact_url: Option<String>,
pub provider_app_icon_url: Option<String>,
pub provider_app_id: String,
pub provider_app_name: String,
pub read_only: bool,
}Expand description
A cross-app connection definition
JSON schema
{
"title": "CrossAppConnection",
"description": "A cross-app connection definition",
"type": "object",
"required": [
"provider_app_id",
"provider_app_name",
"read_only"
],
"properties": {
"provider_app_custom_api_url": {
"type": "string",
"format": "uri"
},
"provider_app_custom_auth_authorize_url": {
"type": "string",
"format": "uri"
},
"provider_app_custom_auth_transact_url": {
"type": "string",
"format": "uri"
},
"provider_app_icon_url": {
"type": "string",
"format": "uri"
},
"provider_app_id": {
"type": "string"
},
"provider_app_name": {
"type": "string"
},
"read_only": {
"type": "boolean"
}
},
"x-stainless-model": "cross_app.cross_app_connection"
}Fields§
§provider_app_custom_api_url: Option<String>§provider_app_custom_auth_transact_url: Option<String>§provider_app_icon_url: Option<String>§provider_app_id: String§provider_app_name: String§read_only: boolTrait Implementations§
Source§impl Clone for CrossAppConnection
impl Clone for CrossAppConnection
Source§fn clone(&self) -> CrossAppConnection
fn clone(&self) -> CrossAppConnection
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 CrossAppConnection
impl Debug for CrossAppConnection
Source§impl<'de> Deserialize<'de> for CrossAppConnection
impl<'de> Deserialize<'de> for CrossAppConnection
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CrossAppConnection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CrossAppConnection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&CrossAppConnection> for CrossAppConnection
impl From<&CrossAppConnection> for CrossAppConnection
Source§fn from(value: &CrossAppConnection) -> CrossAppConnection
fn from(value: &CrossAppConnection) -> CrossAppConnection
Converts to this type from the input type.
Source§impl Serialize for CrossAppConnection
impl Serialize for CrossAppConnection
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CrossAppConnection
impl RefUnwindSafe for CrossAppConnection
impl Send for CrossAppConnection
impl Sync for CrossAppConnection
impl Unpin for CrossAppConnection
impl UnsafeUnpin for CrossAppConnection
impl UnwindSafe for CrossAppConnection
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