Reference to a resource.
Fields
reference
Implementations
new
fn new() -> Self
set_reference
fn set_reference<T: std::convert::Into<std::option::Option<crate::model::publisher_model::resource_reference::Reference>>>(self, v: T) -> Self
Sets the value of [reference][crate::model::publisher_model::ResourceReference::reference].
Note that all the setters affecting reference are mutually
exclusive.
uri
fn uri(self: &Self) -> std::option::Option<&std::string::String>
The value of [reference][crate::model::publisher_model::ResourceReference::reference]
if it holds a Uri, None if the field is not set or
holds a different branch.
set_uri
fn set_uri<T: std::convert::Into<std::string::String>>(self, v: T) -> Self
Sets the value of [reference][crate::model::publisher_model::ResourceReference::reference]
to hold a Uri.
Note that all the setters affecting reference are
mutually exclusive.
resource_name
fn resource_name(self: &Self) -> std::option::Option<&std::string::String>
The value of [reference][crate::model::publisher_model::ResourceReference::reference]
if it holds a ResourceName, None if the field is not set or
holds a different branch.
set_resource_name
fn set_resource_name<T: std::convert::Into<std::string::String>>(self, v: T) -> Self
Sets the value of [reference][crate::model::publisher_model::ResourceReference::reference]
to hold a ResourceName.
Note that all the setters affecting reference are
mutually exclusive.
use_case
fn use_case(self: &Self) -> std::option::Option<&std::string::String>
The value of [reference][crate::model::publisher_model::ResourceReference::reference]
if it holds a UseCase, None if the field is not set or
holds a different branch.
set_use_case
fn set_use_case<T: std::convert::Into<std::string::String>>(self, v: T) -> Self
Sets the value of [reference][crate::model::publisher_model::ResourceReference::reference]
to hold a UseCase.
Note that all the setters affecting reference are
mutually exclusive.
description
fn description(self: &Self) -> std::option::Option<&std::string::String>
The value of [reference][crate::model::publisher_model::ResourceReference::reference]
if it holds a Description, None if the field is not set or
holds a different branch.
set_description
fn set_description<T: std::convert::Into<std::string::String>>(self, v: T) -> Self
Sets the value of [reference][crate::model::publisher_model::ResourceReference::reference]
to hold a Description.
Note that all the setters affecting reference are
mutually exclusive.