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