Set the content hash.
(mut self, hash: crate::types::Hash)
| 740 | |
| 741 | /// Set the content hash. |
| 742 | pub fn with_content_hash(mut self, hash: crate::types::Hash) -> Self { |
| 743 | self.content_hash = Some(hash); |
| 744 | self |
| 745 | } |
| 746 | |
| 747 | /// Set the file size. |
| 748 | pub fn with_size(mut self, size: u64) -> Self { |
no outgoing calls