#[non_exhaustive]pub struct PartnerIntegrationInfoBuilder { /* private fields */ }
Expand description
A builder for PartnerIntegrationInfo
.
Implementations§
source§impl PartnerIntegrationInfoBuilder
impl PartnerIntegrationInfoBuilder
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The name of the database that receives data from a partner.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The name of the database that receives data from a partner.
sourcepub fn partner_name(self, input: impl Into<String>) -> Self
pub fn partner_name(self, input: impl Into<String>) -> Self
The name of the partner.
sourcepub fn set_partner_name(self, input: Option<String>) -> Self
pub fn set_partner_name(self, input: Option<String>) -> Self
The name of the partner.
sourcepub fn status(self, input: PartnerIntegrationStatus) -> Self
pub fn status(self, input: PartnerIntegrationStatus) -> Self
The partner integration status.
sourcepub fn set_status(self, input: Option<PartnerIntegrationStatus>) -> Self
pub fn set_status(self, input: Option<PartnerIntegrationStatus>) -> Self
The partner integration status.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message provided by the partner.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message provided by the partner.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date (UTC) that the partner integration was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date (UTC) that the partner integration was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The date (UTC) that the partner integration status was last updated by the partner.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The date (UTC) that the partner integration status was last updated by the partner.
sourcepub fn build(self) -> PartnerIntegrationInfo
pub fn build(self) -> PartnerIntegrationInfo
Consumes the builder and constructs a PartnerIntegrationInfo
.
Trait Implementations§
source§impl Clone for PartnerIntegrationInfoBuilder
impl Clone for PartnerIntegrationInfoBuilder
source§fn clone(&self) -> PartnerIntegrationInfoBuilder
fn clone(&self) -> PartnerIntegrationInfoBuilder
Returns a copy 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 Default for PartnerIntegrationInfoBuilder
impl Default for PartnerIntegrationInfoBuilder
source§fn default() -> PartnerIntegrationInfoBuilder
fn default() -> PartnerIntegrationInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PartnerIntegrationInfoBuilder> for PartnerIntegrationInfoBuilder
impl PartialEq<PartnerIntegrationInfoBuilder> for PartnerIntegrationInfoBuilder
source§fn eq(&self, other: &PartnerIntegrationInfoBuilder) -> bool
fn eq(&self, other: &PartnerIntegrationInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PartnerIntegrationInfoBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PartnerIntegrationInfoBuilder
impl Send for PartnerIntegrationInfoBuilder
impl Sync for PartnerIntegrationInfoBuilder
impl Unpin for PartnerIntegrationInfoBuilder
impl UnwindSafe for PartnerIntegrationInfoBuilder
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