#[non_exhaustive]pub struct SalesforceSourceConfig {
pub include_objects: Option<SalesforceOrg>,
pub exclude_objects: Option<SalesforceOrg>,
pub polling_interval: Option<Duration>,
/* private fields */
}
Expand description
Salesforce source configuration
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.include_objects: Option<SalesforceOrg>
Salesforce objects to retrieve from the source.
exclude_objects: Option<SalesforceOrg>
Salesforce objects to exclude from the stream.
polling_interval: Option<Duration>
Required. Salesforce objects polling interval. The interval at which new changes will be polled for each object. The duration must be between 5 minutes and 24 hours.
Implementations§
Source§impl SalesforceSourceConfig
impl SalesforceSourceConfig
pub fn new() -> Self
Sourcepub fn set_include_objects<T>(self, v: T) -> Selfwhere
T: Into<SalesforceOrg>,
pub fn set_include_objects<T>(self, v: T) -> Selfwhere
T: Into<SalesforceOrg>,
Sets the value of include_objects.
Sourcepub fn set_or_clear_include_objects<T>(self, v: Option<T>) -> Selfwhere
T: Into<SalesforceOrg>,
pub fn set_or_clear_include_objects<T>(self, v: Option<T>) -> Selfwhere
T: Into<SalesforceOrg>,
Sets or clears the value of include_objects.
Sourcepub fn set_exclude_objects<T>(self, v: T) -> Selfwhere
T: Into<SalesforceOrg>,
pub fn set_exclude_objects<T>(self, v: T) -> Selfwhere
T: Into<SalesforceOrg>,
Sets the value of exclude_objects.
Sourcepub fn set_or_clear_exclude_objects<T>(self, v: Option<T>) -> Selfwhere
T: Into<SalesforceOrg>,
pub fn set_or_clear_exclude_objects<T>(self, v: Option<T>) -> Selfwhere
T: Into<SalesforceOrg>,
Sets or clears the value of exclude_objects.
Sourcepub fn set_polling_interval<T>(self, v: T) -> Self
pub fn set_polling_interval<T>(self, v: T) -> Self
Sets the value of polling_interval.
Sourcepub fn set_or_clear_polling_interval<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_polling_interval<T>(self, v: Option<T>) -> Self
Sets or clears the value of polling_interval.
Trait Implementations§
Source§impl Clone for SalesforceSourceConfig
impl Clone for SalesforceSourceConfig
Source§fn clone(&self) -> SalesforceSourceConfig
fn clone(&self) -> SalesforceSourceConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SalesforceSourceConfig
impl Debug for SalesforceSourceConfig
Source§impl Default for SalesforceSourceConfig
impl Default for SalesforceSourceConfig
Source§fn default() -> SalesforceSourceConfig
fn default() -> SalesforceSourceConfig
Returns the “default value” for a type. Read more
Source§impl Message for SalesforceSourceConfig
impl Message for SalesforceSourceConfig
Source§impl PartialEq for SalesforceSourceConfig
impl PartialEq for SalesforceSourceConfig
impl StructuralPartialEq for SalesforceSourceConfig
Auto Trait Implementations§
impl Freeze for SalesforceSourceConfig
impl RefUnwindSafe for SalesforceSourceConfig
impl Send for SalesforceSourceConfig
impl Sync for SalesforceSourceConfig
impl Unpin for SalesforceSourceConfig
impl UnwindSafe for SalesforceSourceConfig
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