pub struct GenaiUpdateAgentDeploymentVisibilityBody {
pub uuid: Option<String>,
pub visibility: GenaiUpdateAgentDeploymentVisibilityBodyVisibility,
}Expand description
UpdateAgentDeploymentVisibilityInputPublic description
JSON schema
{
"description": "UpdateAgentDeploymentVisibilityInputPublic description",
"type": "object",
"properties": {
"uuid": {
"description": "Unique id",
"examples": [
"\"12345678-1234-1234-1234-123456789012\""
],
"type": "string"
},
"visibility": {
"description": "- VISIBILITY_UNKNOWN: The status of the deployment is unknown\n - VISIBILITY_DISABLED: The deployment is disabled and will no longer service requests\n - VISIBILITY_PLAYGROUND: Deprecated: No longer a valid state\n - VISIBILITY_PUBLIC: The deployment is public and will service requests from the public internet\n - VISIBILITY_PRIVATE: The deployment is private and will only service requests from other agents, or through API keys",
"default": "VISIBILITY_UNKNOWN",
"examples": [
"VISIBILITY_UNKNOWN"
],
"type": "string",
"enum": [
"VISIBILITY_UNKNOWN",
"VISIBILITY_DISABLED",
"VISIBILITY_PLAYGROUND",
"VISIBILITY_PUBLIC",
"VISIBILITY_PRIVATE"
]
}
}
}Fields§
§uuid: Option<String>Unique id
visibility: GenaiUpdateAgentDeploymentVisibilityBodyVisibility- VISIBILITY_UNKNOWN: The status of the deployment is unknown
- VISIBILITY_DISABLED: The deployment is disabled and will no longer service requests
- VISIBILITY_PLAYGROUND: Deprecated: No longer a valid state
- VISIBILITY_PUBLIC: The deployment is public and will service requests from the public internet
- VISIBILITY_PRIVATE: The deployment is private and will only service requests from other agents, or through API keys
Trait Implementations§
Source§impl Clone for GenaiUpdateAgentDeploymentVisibilityBody
impl Clone for GenaiUpdateAgentDeploymentVisibilityBody
Source§fn clone(&self) -> GenaiUpdateAgentDeploymentVisibilityBody
fn clone(&self) -> GenaiUpdateAgentDeploymentVisibilityBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for GenaiUpdateAgentDeploymentVisibilityBody
impl<'de> Deserialize<'de> for GenaiUpdateAgentDeploymentVisibilityBody
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&GenaiUpdateAgentDeploymentVisibilityBody> for GenaiUpdateAgentDeploymentVisibilityBody
impl From<&GenaiUpdateAgentDeploymentVisibilityBody> for GenaiUpdateAgentDeploymentVisibilityBody
Source§fn from(value: &GenaiUpdateAgentDeploymentVisibilityBody) -> Self
fn from(value: &GenaiUpdateAgentDeploymentVisibilityBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GenaiUpdateAgentDeploymentVisibilityBody
impl RefUnwindSafe for GenaiUpdateAgentDeploymentVisibilityBody
impl Send for GenaiUpdateAgentDeploymentVisibilityBody
impl Sync for GenaiUpdateAgentDeploymentVisibilityBody
impl Unpin for GenaiUpdateAgentDeploymentVisibilityBody
impl UnsafeUnpin for GenaiUpdateAgentDeploymentVisibilityBody
impl UnwindSafe for GenaiUpdateAgentDeploymentVisibilityBody
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more