pub struct GroupId(pub String);Expand description
Intra-contract grouping identifier (protobuf package, OpenAPI tag, etc.).
Serialized on the wire as the group key within a ManualContract.
Tuple Fields§
§0: StringWire-safe group key string (e.g. protobuf package name, OpenAPI tag).
Implementations§
Trait Implementations§
impl Eq for GroupId
Source§impl Ord for GroupId
impl Ord for GroupId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for GroupId
impl PartialOrd for GroupId
impl StructuralPartialEq for GroupId
Auto Trait Implementations§
impl Freeze for GroupId
impl RefUnwindSafe for GroupId
impl Send for GroupId
impl Sync for GroupId
impl Unpin for GroupId
impl UnsafeUnpin for GroupId
impl UnwindSafe for GroupId
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