#[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 get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
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 get_partner_name(&self) -> &Option<String>
pub fn get_partner_name(&self) -> &Option<String>
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 get_status(&self) -> &Option<PartnerIntegrationStatus>
pub fn get_status(&self) -> &Option<PartnerIntegrationStatus>
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 get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
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 get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
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 get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PartnerIntegrationInfoBuilder
impl Default for PartnerIntegrationInfoBuilder
source§fn default() -> PartnerIntegrationInfoBuilder
fn default() -> PartnerIntegrationInfoBuilder
source§impl PartialEq for PartnerIntegrationInfoBuilder
impl PartialEq for PartnerIntegrationInfoBuilder
source§fn eq(&self, other: &PartnerIntegrationInfoBuilder) -> bool
fn eq(&self, other: &PartnerIntegrationInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PartnerIntegrationInfoBuilder
Auto Trait Implementations§
impl Freeze for PartnerIntegrationInfoBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more