pub struct ConnectionAdd { /* private fields */ }Expand description
Stores a credential. Build with Connections::add.
Implementations§
Source§impl ConnectionAdd
impl ConnectionAdd
Sourcepub fn source_schema(self, schema: impl Into<String>) -> Self
pub fn source_schema(self, schema: impl Into<String>) -> Self
PostgreSQL schema connector jobs read from. Must be paired with Self::sink_schema.
Sourcepub fn sink_schema(self, schema: impl Into<String>) -> Self
pub fn sink_schema(self, schema: impl Into<String>) -> Self
PostgreSQL schema connector jobs write to. Must be paired with Self::source_schema.
Sourcepub async fn send(self) -> Result<ConnectionCreated>
pub async fn send(self) -> Result<ConnectionCreated>
Send the request.
Auto Trait Implementations§
impl !RefUnwindSafe for ConnectionAdd
impl !UnwindSafe for ConnectionAdd
impl Freeze for ConnectionAdd
impl Send for ConnectionAdd
impl Sync for ConnectionAdd
impl Unpin for ConnectionAdd
impl UnsafeUnpin for ConnectionAdd
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