pub struct TemporaryNamespace {
pub schema: String,
pub oids: TemporaryNamespaceOids,
}Expand description
A session’s created temporary namespace as the catalog shows it.
Fields§
§schema: Stringpg_temp_N.
oids: TemporaryNamespaceOidsImplementations§
Source§impl TemporaryNamespace
impl TemporaryNamespace
Sourcepub fn toast_schema(&self) -> String
pub fn toast_schema(&self) -> String
pg_toast_temp_N, named by the temporary namespace’s number.
Sourcepub fn namespace_oid(&self, name: &str) -> Option<u32>
pub fn namespace_oid(&self, name: &str) -> Option<u32>
The OID of name when it names the temporary namespace or its TOAST namespace.
Trait Implementations§
Source§impl Clone for TemporaryNamespace
impl Clone for TemporaryNamespace
Source§impl Debug for TemporaryNamespace
impl Debug for TemporaryNamespace
impl Eq for TemporaryNamespace
Source§impl PartialEq for TemporaryNamespace
impl PartialEq for TemporaryNamespace
impl StructuralPartialEq for TemporaryNamespace
Auto Trait Implementations§
impl Freeze for TemporaryNamespace
impl RefUnwindSafe for TemporaryNamespace
impl Send for TemporaryNamespace
impl Sync for TemporaryNamespace
impl Unpin for TemporaryNamespace
impl UnsafeUnpin for TemporaryNamespace
impl UnwindSafe for TemporaryNamespace
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more