pub struct SyncAdapterCreate {
pub name: String,
pub token: String,
pub url: String,
pub extra: Map<String, Value>,
}Expand description
Registration of a sync adapter service. Names are configured by the installation, not a fixed list of vendors.
Fields§
§name: StringUnique adapter lookup name used by external systems and the proxy.
token: StringAuthentication token sent to the adapter.
url: StringBase URL of the adapter service.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for SyncAdapterCreate
impl Clone for SyncAdapterCreate
Source§impl Debug for SyncAdapterCreate
impl Debug for SyncAdapterCreate
Source§impl Default for SyncAdapterCreate
impl Default for SyncAdapterCreate
Source§impl<'de> Deserialize<'de> for SyncAdapterCreate
impl<'de> Deserialize<'de> for SyncAdapterCreate
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 SyncAdapterCreate
impl PartialEq for SyncAdapterCreate
Source§impl Serialize for SyncAdapterCreate
impl Serialize for SyncAdapterCreate
impl StructuralPartialEq for SyncAdapterCreate
Auto Trait Implementations§
impl Freeze for SyncAdapterCreate
impl RefUnwindSafe for SyncAdapterCreate
impl Send for SyncAdapterCreate
impl Sync for SyncAdapterCreate
impl Unpin for SyncAdapterCreate
impl UnsafeUnpin for SyncAdapterCreate
impl UnwindSafe for SyncAdapterCreate
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