pub struct CopyResponse {
pub format: i8,
pub num_columns: i16,
pub format_codes: Vec<i16>,
}Available on crate feature
postgres only.Expand description
The same structure is sent for both CopyInResponse and CopyOutResponse
Fields§
§format: i8§num_columns: i16§format_codes: Vec<i16>Trait Implementations§
Auto Trait Implementations§
impl Freeze for CopyResponse
impl RefUnwindSafe for CopyResponse
impl Send for CopyResponse
impl Sync for CopyResponse
impl Unpin for CopyResponse
impl UnwindSafe for CopyResponse
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
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> ⓘ
Converts
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> ⓘ
Converts
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