pub struct BlockId {
pub generation: u64,
pub inode: Inode,
}
Expand description
A unique identifier for a block.
Fields§
§generation: u64
The identifier of the server generation the block is stored in.
inode: Inode
The identifier of the inode on the server generation containing the block.
Implementations§
Trait Implementations§
source§impl AsRef<BlockId> for BlockMetaSecrets
impl AsRef<BlockId> for BlockMetaSecrets
source§impl<'de> Deserialize<'de> for BlockId
impl<'de> Deserialize<'de> for BlockId
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 PartialEq<BlockId> for BlockId
impl PartialEq<BlockId> for BlockId
impl Eq for BlockId
impl StructuralEq for BlockId
impl StructuralPartialEq for BlockId
Auto Trait Implementations§
impl RefUnwindSafe for BlockId
impl Send for BlockId
impl Sync for BlockId
impl Unpin for BlockId
impl UnwindSafe for BlockId
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