misskey-rs
misskey-rs copied to clipboard
Hide fields of ID structs
Currently Aid, Meid and ObjectId exposes their (parsed) fields publicly. If we can stop exposing them we can rely on the format of string representation to limit the range of these fields (currently datetime method can panic if their values are constructed directly https://github.com/coord-e/misskey-rs/commit/c5de01833b6e407ff430119f8f90fc5affa105d6). This is a breaking change.