#[non_exhaustive]pub struct TrackerSourceAddInput {
pub org: Option<String>,
pub name: String,
pub host: String,
pub port: Option<Integer>,
pub secure: Option<bool>,
pub database: String,
pub user: String,
pub password: String,
pub namespaces: Vec<TrackerSourceNamespaceSpec>,
pub mapping: Option<Option<HashMap<String, Value>>>,
pub dry_run: Option<bool>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.org: Option<String>§name: String§host: String§port: Option<Integer>§secure: Option<bool>§database: String§user: String§password: String§namespaces: Vec<TrackerSourceNamespaceSpec>§mapping: Option<Option<HashMap<String, Value>>>§dry_run: Option<bool>Implementations§
Source§impl TrackerSourceAddInput
impl TrackerSourceAddInput
pub fn new( name: impl Into<String>, host: impl Into<String>, database: impl Into<String>, user: impl Into<String>, password: impl Into<String>, namespaces: Vec<TrackerSourceNamespaceSpec>, ) -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn port(self, port: impl Into<Integer>) -> Self
pub fn secure(self, secure: bool) -> Self
pub fn mapping(self, mapping: HashMap<String, Value>) -> Self
pub fn mapping_null(self) -> Self
pub fn dry_run(self, dry_run: bool) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<TrackerSourceAddOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for TrackerSourceAddInput
impl Clone for TrackerSourceAddInput
Source§impl Debug for TrackerSourceAddInput
impl Debug for TrackerSourceAddInput
Source§impl<'de> Deserialize<'de> for TrackerSourceAddInput
impl<'de> Deserialize<'de> for TrackerSourceAddInput
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 TrackerSourceAddInput
impl PartialEq for TrackerSourceAddInput
Source§impl Serialize for TrackerSourceAddInput
impl Serialize for TrackerSourceAddInput
impl StructuralPartialEq for TrackerSourceAddInput
Auto Trait Implementations§
impl Forget for TrackerSourceAddInput
impl Freeze for TrackerSourceAddInput
impl Move for TrackerSourceAddInput
impl RefUnwindSafe for TrackerSourceAddInput
impl Send for TrackerSourceAddInput
impl Sync for TrackerSourceAddInput
impl Unpin for TrackerSourceAddInput
impl UnsafeUnpin for TrackerSourceAddInput
impl UnwindSafe for TrackerSourceAddInput
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