You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you have a Implicit string like below, it's not possible to access the value by itself because value is private. Implicit { _tag: PhantomData, value: "TestString" }
error[E0616]: field `value` of struct `Implicit` is private
| println!("{:?}", obj.value);
| ^^^^^ private field
The text was updated successfully, but these errors were encountered:
anthok
changed the title
Implicit Value is private
Implicit string value is private
Aug 12, 2021
When you have a Implicit string like below, it's not possible to access the value by itself because value is private.
Implicit { _tag: PhantomData, value: "TestString" }
The text was updated successfully, but these errors were encountered: