pub fn segments(mut self, input: crate::model::SegmentDetection) -> Self {
            let mut v = self.segments.unwrap_or_default();
            v.push(input);
            self.segments = Some(v);
            self
        }
/// Appends an item to `segments`.
///
/// To override the contents of this collection use [`set_segments`](Self::set_segments).
///
/// <p>An array of segments detected in a video. The array is sorted by the segment types (TECHNICAL_CUE or SHOT) specified in the <code>SegmentTypes</code> input parameter of <code>StartSegmentDetection</code>. Within each segment type the array is sorted by timestamp values.</p>
Appends an item to `segments`.
To override the contents of this collection use [`set_segments`](Self::set_segments).

An array of segments detected in a video. The array is sorted by the segment types (TECHNICAL_CUE or SHOT) specified in the SegmentTypes input parameter of StartSegmentDetection. Within each segment type the array is sorted by timestamp values.
Appends an item to ` segments ` . To override the contents of this collection use [ ` set_segments ` ] ( Self :: set_segments ) . An array of segments detected in a video . The array is sorted by the segment types ( TECHNICAL_CUE or SHOT ) specified in the SegmentTypes input parameter of StartSegmentDetection . Within each segment type the array is sorted by timestamp values .
pub fn segments(mut self, input: crate::model::SegmentDetection) -> Self {
            let mut v = self.segments.unwrap_or_default();
            v.push(input);
            self.segments = Some(v);
            self
        }
pub fn segments ( mut self , input : crate :: model :: SegmentDetection ) -> Self { let mut v = self . segments . unwrap_or_default ( ) ; v . push ( input ) ; self . segments = Some ( v ) ; self }
Appends an item to `segments`.
Appends an item to ` segments ` .
mut self
input
crate::model::SegmentDetection
mut self
input
crate::model::SegmentDetection