docs.rs failed to build pedronauck-streams-subject-0.0.27
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
📝 About The Project
Provides macros for implementing subject functionality in the pedronauck-streams ecosystem.
[!NOTE] This crate is specifically modeled for the Fuel Data Systems project, and is not intended for general use outside of the project.
🚀 Usage
The Subject derive macro allows you to easily implement the Subject trait for your structs. It generates methods for parsing, building, and creating subjectsfor your subject.
Example:
use *;
// Create a new TestSubject
let subject = TestSubject ;
// Parse the subject
assert_eq!;
// Create a subject string
assert_eq!;
// Create using the build method
let subject = build;
assert_eq!;
// Create a new TestSubject with the builder pattern
let subject = new
.with_field1
.with_field2;
assert_eq!;
// Convert to a string
assert_eq!;
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
For more information on contributing, please see the CONTRIBUTING.md file in the root of the repository.
📜 License
This repo is licensed under the Apache-2.0 license. See LICENSE for more information.