#[non_exhaustive]pub struct DescribePortalResponse {
pub fields: Vec<FieldInfo>,
}Expand description
Response for frontend describe portal requests.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.fields: Vec<FieldInfo>Implementations§
Trait Implementations§
Source§impl Debug for DescribePortalResponse
impl Debug for DescribePortalResponse
Source§impl DescribeResponse for DescribePortalResponse
impl DescribeResponse for DescribePortalResponse
Source§fn no_data() -> Self
fn no_data() -> Self
Create an no_data instance of DescribePortalResponse. This is typically used
when client tries to describe an empty query.
Source§fn is_no_data(&self) -> bool
fn is_no_data(&self) -> bool
Return true if the DescribePortalResponse is empty/nodata
fn parameters(&self) -> Option<&[Type]>
fn fields(&self) -> &[FieldInfo]
Auto Trait Implementations§
impl Freeze for DescribePortalResponse
impl RefUnwindSafe for DescribePortalResponse
impl Send for DescribePortalResponse
impl Sync for DescribePortalResponse
impl Unpin for DescribePortalResponse
impl UnsafeUnpin for DescribePortalResponse
impl UnwindSafe for DescribePortalResponse
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