Make UserId's inner value public
This commit is contained in:
@@ -57,7 +57,7 @@ impl TryFrom<RawValue> for String {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Eq, Hash, Clone, Copy)]
|
#[derive(Debug, PartialEq, Eq, Hash, Clone, Copy)]
|
||||||
pub struct UserId(pub(crate) i32);
|
pub struct UserId(pub i32);
|
||||||
|
|
||||||
impl TryFrom<RawValue> for UserId {
|
impl TryFrom<RawValue> for UserId {
|
||||||
type Error = ();
|
type Error = ();
|
||||||
|
|||||||
Reference in New Issue
Block a user