pub struct AuthSync {
pub restricted: HashSet<AssetId>,
pub authorisations: HashMap<PlayerId, HashMap<AssetId, u64>>,
pub etp_authorised: HashSet<SharedId>,
}Fields§
§restricted: HashSet<AssetId>The restricted assets
The authorisations that various players have
The shared accounts allowed to issue ETPs
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuthSync
impl<'de> Deserialize<'de> for AuthSync
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
impl Eq for AuthSync
impl StructuralPartialEq for AuthSync
Auto Trait Implementations§
impl Freeze for AuthSync
impl RefUnwindSafe for AuthSync
impl Send for AuthSync
impl Sync for AuthSync
impl Unpin for AuthSync
impl UnsafeUnpin for AuthSync
impl UnwindSafe for AuthSync
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