pub struct ServerlessGenerationPointer {
pub namespace: String,
pub generation: u64,
pub manifest_relative_path: PathBuf,
pub manifest_bytes: u64,
pub manifest_checksum: u32,
pub manifest_content_hash: ServerlessContentHash,
}Fields§
§namespace: String§generation: u64§manifest_relative_path: PathBuf§manifest_bytes: u64§manifest_checksum: u32§manifest_content_hash: ServerlessContentHashImplementations§
Source§impl ServerlessGenerationPointer
impl ServerlessGenerationPointer
pub fn from_manifest( plan: &ServerlessFilePlan, manifest: &ServerlessManifest, ) -> Self
pub fn write_to_path(&self, path: impl AsRef<Path>) -> RdbFileResult<()>
pub fn read_from_path(path: impl AsRef<Path>) -> RdbFileResult<Self>
pub fn encode(&self) -> Vec<u8> ⓘ
pub fn decode(bytes: &[u8]) -> RdbFileResult<Self>
Trait Implementations§
Source§impl Clone for ServerlessGenerationPointer
impl Clone for ServerlessGenerationPointer
Source§impl Debug for ServerlessGenerationPointer
impl Debug for ServerlessGenerationPointer
impl Eq for ServerlessGenerationPointer
impl StructuralPartialEq for ServerlessGenerationPointer
Auto Trait Implementations§
impl Forget for ServerlessGenerationPointer
impl Freeze for ServerlessGenerationPointer
impl Move for ServerlessGenerationPointer
impl RefUnwindSafe for ServerlessGenerationPointer
impl Send for ServerlessGenerationPointerwhere
RawVecInner: Send,
impl Sync for ServerlessGenerationPointerwhere
RawVecInner: Sync,
impl Unpin for ServerlessGenerationPointer
impl UnsafeUnpin for ServerlessGenerationPointer
impl UnwindSafe for ServerlessGenerationPointerwhere
RawVecInner: UnwindSafe,
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