pub struct ForeignDataWrapper(/* private fields */);Expand description
A PostgreSQL foreign data wrapper name.
Implementations§
Source§impl ForeignDataWrapper
impl ForeignDataWrapper
Sourcepub const fn from_static_or_panic(input: &'static str) -> Self
pub const fn from_static_or_panic(input: &'static str) -> Self
Creates a new value from a static string.
§Panics
Panics if the input is empty, exceeds MAX_LENGTH, or contains NUL bytes.
Trait Implementations§
Source§impl AsRef<str> for ForeignDataWrapper
impl AsRef<str> for ForeignDataWrapper
Source§impl Clone for ForeignDataWrapper
impl Clone for ForeignDataWrapper
Source§fn clone(&self) -> ForeignDataWrapper
fn clone(&self) -> ForeignDataWrapper
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 moreSource§impl Debug for ForeignDataWrapper
impl Debug for ForeignDataWrapper
Source§impl<'de> Deserialize<'de> for ForeignDataWrapper
impl<'de> Deserialize<'de> for ForeignDataWrapper
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ForeignDataWrapper
impl Display for ForeignDataWrapper
Source§impl FromStr for ForeignDataWrapper
impl FromStr for ForeignDataWrapper
Source§impl Ord for ForeignDataWrapper
impl Ord for ForeignDataWrapper
Source§fn cmp(&self, other: &ForeignDataWrapper) -> Ordering
fn cmp(&self, other: &ForeignDataWrapper) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ForeignDataWrapper
impl PartialEq for ForeignDataWrapper
Source§impl PartialOrd for ForeignDataWrapper
impl PartialOrd for ForeignDataWrapper
Source§impl Serialize for ForeignDataWrapper
impl Serialize for ForeignDataWrapper
Source§impl TryFrom<String> for ForeignDataWrapper
impl TryFrom<String> for ForeignDataWrapper
impl Eq for ForeignDataWrapper
impl StructuralPartialEq for ForeignDataWrapper
Auto Trait Implementations§
impl Freeze for ForeignDataWrapper
impl RefUnwindSafe for ForeignDataWrapper
impl Send for ForeignDataWrapper
impl Sync for ForeignDataWrapper
impl Unpin for ForeignDataWrapper
impl UnsafeUnpin for ForeignDataWrapper
impl UnwindSafe for ForeignDataWrapper
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