Skip to main content
7 votes
1 answer
5k views

When deriving Debug, what is the best approach to skip a specific struct field that doesn't implement Debug? For example: #[derive(Debug)] pub struct MySettings { pub max_size: usize, pub ...
diogopontual's user avatar
0 votes
1 answer
126 views

Good Day, I am using Intellij 2024.1.3 and Oracle OpenJDK 22.0.1 this is my build.sbt: ThisBuild / version := "0.1.0-SNAPSHOT" ThisBuild / scalaVersion := "3.4.2" lazy val root = (...
Ali Tc's user avatar
  • 7
0 votes
0 answers
26 views

Say I want to my derive trait Builder. This creates another type FooBuilder. FooBuilder should implement Debug iff Foo also derives Debug. #[derive(Debug, Builder)] struct Foo { bar: String } fn ...
Typhaon's user avatar
  • 1,072
1 vote
1 answer
2k views

I'm very new to Rust, so maybe this is an obvious question, but I couldn't find anything that answered it. I can't seem to import the external crate diesel_derive_enum in my module sub-module database/...
siim's user avatar
  • 62
-5 votes
1 answer
532 views

~/Workspace/microscaler/docker-api-rs on fix/linting-issues cargo clippy --all-targets --all-features -- -D clippy::all -Z macro-backtrace ...
casibbald's user avatar
  • 3,135