pub struct Catalog {
pub kind: CatalogKind,
pub schema: Option<Identifier>,
pub after: Option<String>,
pub rows: Option<usize>,
pub bytes: Option<usize>,
}Fields§
§kind: CatalogKind§schema: Option<Identifier>§after: Option<String>§rows: Option<usize>§bytes: Option<usize>Implementations§
Trait Implementations§
impl Eq for Catalog
Source§impl MemorySize for Catalog
impl MemorySize for Catalog
fn memory_size(&self) -> usize
Source§impl OperationDeclaration for Catalog
impl OperationDeclaration for Catalog
const ID: &'static str = "host.catalog"
const VERSION: u32 = 1
const POLICY: OperationPolicy = POLICY
const DESCRIPTION: &'static str = "Page live operation contracts or the schemas, streams and objects storage holds durably"
const VISIBILITY: Visibility = Visibility::Shared
const GRPC: Option<Grpc>
type Response = CatalogPage
type Input = NoStream
type Output = NoStream
fn grant(&self) -> Option<Grant>
const REPLAY: ReplaySafety = ReplaySafety::Unknown
fn key(&self) -> Option<CacheKey>
impl StructuralPartialEq for Catalog
Source§impl Value for Catalog
impl Value for Catalog
fn write(&self, bytes: &mut Vec<u8>)
fn size(&self) -> usize
fn memory(input: &mut Reader<'_>) -> Result<usize, MessageError>
fn read(input: &mut Reader<'_>) -> Result<Catalog, MessageError>
fn size_many(values: &[Self]) -> usize
fn write_many(values: &[Self], bytes: &mut Vec<u8>)
fn memory_many( input: &mut Reader<'_>, count: usize, ) -> Result<usize, MessageError>
fn read_many( input: &mut Reader<'_>, count: usize, ) -> Result<Vec<Self>, MessageError>
Auto Trait Implementations§
impl Freeze for Catalog
impl RefUnwindSafe for Catalog
impl Send for Catalog
impl Sync for Catalog
impl Unpin for Catalog
impl UnsafeUnpin for Catalog
impl UnwindSafe for Catalog
Blanket Implementations§
impl<T> Allocation for T
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