pub struct WorkerOutputs {
pub worker_name: String,
pub public_endpoints: HashMap<String, PublicEndpointOutput>,
pub identifier: Option<String>,
pub commands_push_target: Option<String>,
}Expand description
Outputs generated by a successfully provisioned Worker.
Fields§
§worker_name: StringThe platform-specific worker name.
public_endpoints: HashMap<String, PublicEndpointOutput>Public endpoints resolved for this worker.
identifier: Option<String>The ARN or platform-specific identifier.
commands_push_target: Option<String>Push target for commands delivery. Platform-specific:
- AWS: Lambda function name or ARN
- GCP: Full Pub/Sub topic path (projects/{project}/topics/{topic})
- Azure: Service Bus “{namespace}/{queue}”
Trait Implementations§
Source§impl Clone for WorkerOutputs
impl Clone for WorkerOutputs
Source§fn clone(&self) -> WorkerOutputs
fn clone(&self) -> WorkerOutputs
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 Debug for WorkerOutputs
impl Debug for WorkerOutputs
Source§impl<'de> Deserialize<'de> for WorkerOutputs
impl<'de> Deserialize<'de> for WorkerOutputs
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 PartialEq for WorkerOutputs
impl PartialEq for WorkerOutputs
Source§fn eq(&self, other: &WorkerOutputs) -> bool
fn eq(&self, other: &WorkerOutputs) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ResourceOutputsDefinition for WorkerOutputs
impl ResourceOutputsDefinition for WorkerOutputs
Source§fn get_resource_type(&self) -> ResourceType
fn get_resource_type(&self) -> ResourceType
Returns the resource type for this instance
Source§fn box_clone(&self) -> Box<dyn ResourceOutputsDefinition>
fn box_clone(&self) -> Box<dyn ResourceOutputsDefinition>
Creates a boxed clone of this resource outputs
Source§fn outputs_eq(&self, other: &dyn ResourceOutputsDefinition) -> bool
fn outputs_eq(&self, other: &dyn ResourceOutputsDefinition) -> bool
For equality comparison between resource outputs
Source§fn to_json_value(&self) -> Result<Value>
fn to_json_value(&self) -> Result<Value>
Serialize this resource outputs to a JSON value (without the “type” tag - that’s added by ResourceOutputs)
Source§impl Serialize for WorkerOutputs
impl Serialize for WorkerOutputs
impl StructuralPartialEq for WorkerOutputs
Auto Trait Implementations§
impl Freeze for WorkerOutputs
impl RefUnwindSafe for WorkerOutputs
impl Send for WorkerOutputs
impl Sync for WorkerOutputs
impl Unpin for WorkerOutputs
impl UnsafeUnpin for WorkerOutputs
impl UnwindSafe for WorkerOutputs
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