Is diesel strict encapsulated? #4380
Unanswered
siqueira-prog
asked this question in
Q&A
Replies: 1 comment
-
I'm not sure what you exactly trying to ask here. Maybe you can add some more details to your question to get a better answer. If that refers to accessing diesel internals: No that's generally not possible from outside diesel, as they are private based on rusts module privacy. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm asking this because i was doing some researchs. Then i discover that rust uses the structs to create the logic behinds. But theres no private and protect concepts... Is it? (Sorry if i ask something wrong, i'm beguinner...) I imagined that could be something about the language for itself that do this and theres no need to add this concepts... Is it?
Beta Was this translation helpful? Give feedback.
All reactions