pub struct ForeignServer(/* private fields */);Expand description
A PostgreSQL foreign server name.
Implementations§
Source§impl ForeignServer
impl ForeignServer
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 ForeignServer
impl AsRef<str> for ForeignServer
Source§impl Clone for ForeignServer
impl Clone for ForeignServer
Source§fn clone(&self) -> ForeignServer
fn clone(&self) -> ForeignServer
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 ForeignServer
impl Debug for ForeignServer
Source§impl<'de> Deserialize<'de> for ForeignServer
impl<'de> Deserialize<'de> for ForeignServer
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 ForeignServer
impl Display for ForeignServer
Source§impl FromStr for ForeignServer
impl FromStr for ForeignServer
Source§impl Ord for ForeignServer
impl Ord for ForeignServer
Source§fn cmp(&self, other: &ForeignServer) -> Ordering
fn cmp(&self, other: &ForeignServer) -> 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 ForeignServer
impl PartialEq for ForeignServer
Source§impl PartialOrd for ForeignServer
impl PartialOrd for ForeignServer
Source§impl Serialize for ForeignServer
impl Serialize for ForeignServer
Source§impl TryFrom<String> for ForeignServer
impl TryFrom<String> for ForeignServer
impl Eq for ForeignServer
impl StructuralPartialEq for ForeignServer
Auto Trait Implementations§
impl Freeze for ForeignServer
impl RefUnwindSafe for ForeignServer
impl Send for ForeignServer
impl Sync for ForeignServer
impl Unpin for ForeignServer
impl UnsafeUnpin for ForeignServer
impl UnwindSafe for ForeignServer
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