Struct prew::postgresql::PostgresqlPacket
source · pub struct PostgresqlPacket {
pub info: PostgresqlPacketInfo,
pub bytes: Option<Vec<u8>>,
}Fields§
§info: PostgresqlPacketInfo§bytes: Option<Vec<u8>>Implementations§
source§impl PostgresqlPacket
impl PostgresqlPacket
pub fn new( info: PostgresqlPacketInfo, bytes: Option<Vec<u8>> ) -> PostgresqlPacket
Trait Implementations§
source§impl Clone for PostgresqlPacket
impl Clone for PostgresqlPacket
source§fn clone(&self) -> PostgresqlPacket
fn clone(&self) -> PostgresqlPacket
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 Debug for PostgresqlPacket
impl Debug for PostgresqlPacket
source§impl<C> Parser<PostgresqlPacket, C> for PostgresParser
impl<C> Parser<PostgresqlPacket, C> for PostgresParser
source§impl<C> Transformer<PostgresqlPacket, C> for AppendDbNameTransformer
impl<C> Transformer<PostgresqlPacket, C> for AppendDbNameTransformer
fn transform( &self, packet: &PostgresqlPacket, _context: &C ) -> Result<PostgresqlPacket>
Auto Trait Implementations§
impl RefUnwindSafe for PostgresqlPacket
impl Send for PostgresqlPacket
impl Sync for PostgresqlPacket
impl Unpin for PostgresqlPacket
impl UnwindSafe for PostgresqlPacket
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