pub struct ReturnValue {
pub param_ordinal: u16,
pub param_name: String,
pub status: u8,
pub user_type: u32,
pub flags: u16,
pub type_info: TypeInfo,
pub value: Bytes,
}Expand description
Return value from stored procedure.
Fields§
§param_ordinal: u16Parameter ordinal.
param_name: StringParameter name.
status: u8Status flags.
user_type: u32User type.
flags: u16Type flags.
type_info: TypeInfoType info.
value: BytesValue data.
Implementations§
Source§impl ReturnValue
impl ReturnValue
Sourcepub fn decode(src: &mut impl Buf) -> Result<Self, ProtocolError>
pub fn decode(src: &mut impl Buf) -> Result<Self, ProtocolError>
Decode a RETURNVALUE token from bytes.
Trait Implementations§
Source§impl Clone for ReturnValue
impl Clone for ReturnValue
Source§fn clone(&self) -> ReturnValue
fn clone(&self) -> ReturnValue
Returns a duplicate 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 moreAuto Trait Implementations§
impl !Freeze for ReturnValue
impl RefUnwindSafe for ReturnValue
impl Send for ReturnValue
impl Sync for ReturnValue
impl Unpin for ReturnValue
impl UnwindSafe for ReturnValue
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