[][src]Struct tensorflow_proto::tensorflow::SessionMetadata

pub struct SessionMetadata {
    pub name: String,
    pub version: i64,
}

Metadata about the session.

This can be used by the runtime and the Ops for debugging, monitoring, etc.

The (name, version) tuple is expected to be a unique identifier for sessions within the same process.

NOTE: This is currently used and propagated only by the direct session.

Fields

name: Stringversion: i64

The version is optional. If set, needs to be >= 0.

Trait Implementations

impl Clone for SessionMetadata[src]

impl Debug for SessionMetadata[src]

impl Default for SessionMetadata[src]

impl Message for SessionMetadata[src]

impl PartialEq<SessionMetadata> for SessionMetadata[src]

impl StructuralPartialEq for SessionMetadata[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.