pub struct ContainerLogs {
pub host: HostId,
pub topology_revision: TopologyRevision,
pub container: String,
pub lines: Vec<String>,
pub truncated: bool,
}Expand description
Bounded one-shot Docker log result.
Fields§
§host: HostIdTarget host.
topology_revision: TopologyRevisionExact topology revision.
container: StringContainer identifier.
lines: Vec<String>Rendered non-empty log lines.
truncated: boolWhether the client-side byte ceiling omitted output.
Trait Implementations§
Source§impl Clone for ContainerLogs
impl Clone for ContainerLogs
Source§fn clone(&self) -> ContainerLogs
fn clone(&self) -> ContainerLogs
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 ContainerLogs
impl Debug for ContainerLogs
Source§impl<'de> Deserialize<'de> for ContainerLogs
impl<'de> Deserialize<'de> for ContainerLogs
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 ContainerLogs
impl PartialEq for ContainerLogs
Source§fn eq(&self, other: &ContainerLogs) -> bool
fn eq(&self, other: &ContainerLogs) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContainerLogs
impl Serialize for ContainerLogs
impl Eq for ContainerLogs
impl StructuralPartialEq for ContainerLogs
Auto Trait Implementations§
impl Freeze for ContainerLogs
impl RefUnwindSafe for ContainerLogs
impl Send for ContainerLogs
impl Sync for ContainerLogs
impl Unpin for ContainerLogs
impl UnsafeUnpin for ContainerLogs
impl UnwindSafe for ContainerLogs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.