[][src]Struct tensorflow_proto::tensorflow::RunStepResponse

pub struct RunStepResponse {
    pub tensor: Vec<NamedTensorProto>,
    pub metadata: Option<RunMetadata>,
    pub status_code: i32,
    pub status_error_message: String,
}

Fields

tensor: Vec<NamedTensorProto>

NOTE: The order of the returned tensors may or may not match the fetch order specified in RunStepRequest.

metadata: Option<RunMetadata>

Returned metadata if requested in the options.

status_code: i32

If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.

status_error_message: String

Implementations

impl RunStepResponse[src]

pub fn status_code(&self) -> Code[src]

Returns the enum value of status_code, or the default if the field is set to an invalid enum value.

pub fn set_status_code(&mut self, value: Code)[src]

Sets status_code to the provided enum value.

Trait Implementations

impl Clone for RunStepResponse[src]

impl Debug for RunStepResponse[src]

impl Default for RunStepResponse[src]

impl Message for RunStepResponse[src]

impl PartialEq<RunStepResponse> for RunStepResponse[src]

impl StructuralPartialEq for RunStepResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.