Skip to content

Commit e056af6

Browse files
committed
Add comment indicating where to find license value
1 parent d9afffd commit e056af6

10 files changed

+30
-0
lines changed

smarty-rust-sdk/examples/international_autocomplete_api.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
2323
);
2424

2525
let options = OptionsBuilder::new(Some(authentication))
26+
// The appropriate license values to be used for your subscriptions
27+
// can be found on the Subscriptions page of the account dashboard.
28+
// https://www.smartystreets.com/docs/cloud/licensing
2629
.with_license("international-autocomplete-v2-cloud")
2730
.build();
2831

smarty-rust-sdk/examples/international_street_api.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
2828
);
2929

3030
let options = OptionsBuilder::new(Some(authentication))
31+
// The appropriate license values to be used for your subscriptions
32+
// can be found on the Subscriptions page of the account dashboard.
33+
// https://www.smartystreets.com/docs/cloud/licensing
3134
.with_license("international-global-plus-cloud")
3235
.build();
3336

smarty-rust-sdk/examples/logger.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
4242

4343
// Create the options from it's builder pattern
4444
let options = OptionsBuilder::new(Some(authentication))
45+
// The appropriate license values to be used for your subscriptions
46+
// can be found on the Subscriptions page the account dashboard.
47+
// https://www.smartystreets.com/docs/cloud/licensing
4548
.with_license("us-core-cloud")
4649
.with_logging()
4750
.with_retries(2)

smarty-rust-sdk/examples/us_autocomplete_pro_api.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
2828
);
2929

3030
let options = OptionsBuilder::new(Some(authentication))
31+
// The appropriate license values to be used for your subscriptions
32+
// can be found on the Subscriptions page of the account dashboard.
33+
// https://www.smartystreets.com/docs/cloud/licensing
3134
.with_license("us-autocomplete-pro-cloud")
3235
.build();
3336

smarty-rust-sdk/examples/us_enrichment_api.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ async fn lookup<R: EnrichmentResponse>(key: u32) -> Result<(), Box<dyn Error>> {
2626
);
2727

2828
let options = OptionsBuilder::new(Some(authentication))
29+
// The appropriate license values to be used for your subscriptions
30+
// can be found on the Subscriptions page of the account dashboard.
31+
// https://www.smartystreets.com/docs/cloud/licensing
2932
.with_license(&format!("us-property-data-{}-cloud", R::lookup_type()))
3033
.with_logging()
3134
.build();

smarty-rust-sdk/examples/us_extract_api.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
2828
);
2929

3030
let options = OptionsBuilder::new(Some(authentication))
31+
// The appropriate license values to be used for your subscriptions
32+
// can be found on the Subscriptions page of the account dashboard.
33+
// https://www.smartystreets.com/docs/cloud/licensing
3134
.with_license("us-core-cloud")
3235
.with_logging()
3336
.build();

smarty-rust-sdk/examples/us_reverse_geo_api.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
2323
);
2424

2525
let options = OptionsBuilder::new(Some(authentication))
26+
// The appropriate license values to be used for your subscriptions
27+
// can be found on the Subscriptions page of the account dashboard.
28+
// https://www.smartystreets.com/docs/cloud/licensing
2629
.with_license("us-reverse-geocoding-cloud")
2730
.build();
2831

smarty-rust-sdk/examples/us_street_api.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
3737
);
3838

3939
let options = OptionsBuilder::new(Some(authentication))
40+
// The appropriate license values to be used for your subscriptions
41+
// can be found on the Subscriptions page of the account dashboard.
42+
// https://www.smartystreets.com/docs/cloud/licensing
4043
.with_license("us-core-cloud")
4144
.build();
4245

smarty-rust-sdk/examples/us_street_multithread.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
4343

4444
// Set Up The Options Here
4545
let options = OptionsBuilder::new(Some(authentication))
46+
// The appropriate license values to be used for your subscriptions
47+
// can be found on the Subscriptions page of the account dashboard.
48+
// https://www.smartystreets.com/docs/cloud/licensing
4649
.with_license("us-core-cloud")
4750
.with_logging()
4851
.build();

smarty-rust-sdk/examples/us_zipcode_api.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
3333
);
3434

3535
let options = OptionsBuilder::new(Some(authentication))
36+
// The appropriate license values to be used for your subscriptions
37+
// can be found on the Subscriptions page of the account dashboard.
38+
// https://www.smartystreets.com/docs/cloud/licensing
3639
.with_license("us-core-cloud")
3740
.build();
3841

0 commit comments

Comments
 (0)