pub struct ProjectionGroupKeyBuilder(/* private fields */);Expand description
Builder for one syntactically canonical complete projection group key.
Implementations§
Source§impl ProjectionGroupKeyBuilder
impl ProjectionGroupKeyBuilder
Sourcepub fn new(
identity: ProjectionIdentity,
generation: ProjectionGeneration,
) -> Self
pub fn new( identity: ProjectionIdentity, generation: ProjectionGeneration, ) -> Self
Starts a key with its exact identity and nonzero generation.
Sourcepub fn push_component(
&mut self,
value: CanonicalValue,
) -> Result<&mut Self, ProjectionKeyError>
pub fn push_component( &mut self, value: CanonicalValue, ) -> Result<&mut Self, ProjectionKeyError>
Appends one complete canonical scalar component.
Sourcepub fn finish(self) -> Result<ProjectionGroupKey, ProjectionKeyError>
pub fn finish(self) -> Result<ProjectionGroupKey, ProjectionKeyError>
Finishes a nonempty syntactically canonical complete key.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProjectionGroupKeyBuilder
impl RefUnwindSafe for ProjectionGroupKeyBuilder
impl Send for ProjectionGroupKeyBuilder
impl Sync for ProjectionGroupKeyBuilder
impl Unpin for ProjectionGroupKeyBuilder
impl UnsafeUnpin for ProjectionGroupKeyBuilder
impl UnwindSafe for ProjectionGroupKeyBuilder
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