Struct DiffPayloadBuilder

Source
pub struct DiffPayloadBuilder<I1, I2, I3, I4, I5, S: State = Empty>
where I1: Into<String>, I2: Into<String>, I3: Into<String>, I4: Into<String>, I5: Into<String>,
{ /* private fields */ }
Expand description

Use builder syntax to set the inputs and finish with build().

Implementations§

Source§

impl<I1, I2, I3, I4, I5, S: State> DiffPayloadBuilder<I1, I2, I3, I4, I5, S>
where I1: Into<String>, I2: Into<String>, I3: Into<String>, I4: Into<String>, I5: Into<String>,

Source

pub fn build(self) -> DiffPayload
where S: IsComplete,

Finishes building and performs the requested action.

Source

pub fn first_db( self, value: I1, ) -> DiffPayloadBuilder<I1, I2, I3, I4, I5, SetFirstDb<S>>
where S::FirstDb: IsUnset,

Required.

Source

pub fn second_db( self, value: I2, ) -> DiffPayloadBuilder<I1, I2, I3, I4, I5, SetSecondDb<S>>
where S::SecondDb: IsUnset,

Required.

Source

pub fn only_tables( self, value: bool, ) -> DiffPayloadBuilder<I1, I2, I3, I4, I5, SetOnlyTables<S>>
where S::OnlyTables: IsUnset,

Required.

Source

pub fn only_sequences( self, value: bool, ) -> DiffPayloadBuilder<I1, I2, I3, I4, I5, SetOnlySequences<S>>
where S::OnlySequences: IsUnset,

Required.

Source

pub fn only_count( self, value: bool, ) -> DiffPayloadBuilder<I1, I2, I3, I4, I5, SetOnlyCount<S>>
where S::OnlyCount: IsUnset,

Required.

Source

pub fn chunk_size( self, value: i64, ) -> DiffPayloadBuilder<I1, I2, I3, I4, I5, SetChunkSize<S>>
where S::ChunkSize: IsUnset,

Required.

Source

pub fn start_position( self, value: i64, ) -> DiffPayloadBuilder<I1, I2, I3, I4, I5, SetStartPosition<S>>
where S::StartPosition: IsUnset,

Required.

Source

pub fn max_connections( self, value: i64, ) -> DiffPayloadBuilder<I1, I2, I3, I4, I5, SetMaxConnections<S>>
where S::MaxConnections: IsUnset,

Required.

Source

pub fn include_tables( self, value: Vec<I3>, ) -> DiffPayloadBuilder<I1, I2, I3, I4, I5, SetIncludeTables<S>>
where S::IncludeTables: IsUnset,

Required.

Source

pub fn exclude_tables( self, value: Vec<I4>, ) -> DiffPayloadBuilder<I1, I2, I3, I4, I5, SetExcludeTables<S>>
where S::ExcludeTables: IsUnset,

Required.

Source

pub fn schema_name( self, value: I5, ) -> DiffPayloadBuilder<I1, I2, I3, I4, I5, SetSchemaName<S>>
where S::SchemaName: IsUnset,

Required.

Source

pub fn accept_invalid_certs_first_db( self, value: bool, ) -> DiffPayloadBuilder<I1, I2, I3, I4, I5, SetAcceptInvalidCertsFirstDb<S>>
where S::AcceptInvalidCertsFirstDb: IsUnset,

Required.

Source

pub fn accept_invalid_certs_second_db( self, value: bool, ) -> DiffPayloadBuilder<I1, I2, I3, I4, I5, SetAcceptInvalidCertsSecondDb<S>>
where S::AcceptInvalidCertsSecondDb: IsUnset,

Required.

Auto Trait Implementations§

§

impl<I1, I2, I3, I4, I5, S> Freeze for DiffPayloadBuilder<I1, I2, I3, I4, I5, S>
where I1: Freeze, I2: Freeze, I5: Freeze,

§

impl<I1, I2, I3, I4, I5, S> RefUnwindSafe for DiffPayloadBuilder<I1, I2, I3, I4, I5, S>

§

impl<I1, I2, I3, I4, I5, S> Send for DiffPayloadBuilder<I1, I2, I3, I4, I5, S>
where I1: Send, I2: Send, I5: Send, I3: Send, I4: Send,

§

impl<I1, I2, I3, I4, I5, S> Sync for DiffPayloadBuilder<I1, I2, I3, I4, I5, S>
where I1: Sync, I2: Sync, I5: Sync, I3: Sync, I4: Sync,

§

impl<I1, I2, I3, I4, I5, S> Unpin for DiffPayloadBuilder<I1, I2, I3, I4, I5, S>
where I1: Unpin, I2: Unpin, I5: Unpin, I3: Unpin, I4: Unpin,

§

impl<I1, I2, I3, I4, I5, S> UnwindSafe for DiffPayloadBuilder<I1, I2, I3, I4, I5, S>
where I1: UnwindSafe, I2: UnwindSafe, I5: UnwindSafe, I3: UnwindSafe, I4: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more