pub struct Namespace {
pub access: NamespaceAccessMode,
pub namespace_id: NamespaceId,
pub created_at_ms: u64,
pub created_by: ActorId,
pub fork_basis: Option<NamespaceForkBasis>,
pub head_seq: ChangeSeq,
pub retention_floor_seq: ChangeSeq,
}Expand description
Current state for one namespace.
Fields§
§access: NamespaceAccessModeThe namespace’s access mode.
namespace_id: NamespaceIdNamespace ID.
created_at_ms: u64Time the namespace was created, in Unix milliseconds.
created_by: ActorIdActor that created the namespace, as supplied by the application.
fork_basis: Option<NamespaceForkBasis>Present only for a fork: the source it was forked from.
head_seq: ChangeSeqCurrent visible namespace sequence.
retention_floor_seq: ChangeSeqOldest sequence still promised for incremental replay.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Namespace
impl<'de> Deserialize<'de> for Namespace
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
impl Eq for Namespace
impl StructuralPartialEq for Namespace
Auto Trait Implementations§
impl Freeze for Namespace
impl RefUnwindSafe for Namespace
impl Send for Namespace
impl Sync for Namespace
impl Unpin for Namespace
impl UnsafeUnpin for Namespace
impl UnwindSafe for Namespace
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